chore(deps): update pre-commit hook jorisroovers/gitlint to v0.18.0
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
jorisroovers/gitlint | repository | minor |
v0.17.0 -> v0.18.0
|
Note: The pre-commit
manager in Renovate is not supported by the pre-commit
maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.
Release Notes
jorisroovers/gitlint
v0.18.0
Contributors: Special thanks to all contributors for this release - details inline!
- Python 3.11 support
- Last release to support Python 3.6 (EOL since 2021-12-23)
-
Behavior Change: In a future release, gitlint will be switching to use
re.search
instead ofre.match
semantics for all rules. Your rule regexes might need updating as a result, gitlint will print a warning if so. More details are in the docs. (#254) - gitlint no longer uses the sh library by default in an attempt to reduce external dependencies. In case of issues, the use of
sh
can be re-enabled by setting the env varGITLINT_USE_SH_LIB=1
. This fallback will be removed entirely in a future gitlint release. (#351) -
--commits
now also accepts a comma-separated list of commit hashes, making it possible to lint a list of non-contiguous commits without invoking gitlint multiple times (#283) - Improved handling of branches that have no commits (#188) - thanks domsekotill
- Support for
GITLINT_CONFIG
env variable (#189) - thanks Notgnoshi - Added a new
gitlint-ci
pre-commit hook, making it easier to run gitlint through pre-commit in CI (#191) - thanks guillaumelambert - Contrib Rules:
- New contrib-disallow-cleanup-commits rule (#312) - thanks matthiasbeyer
- New contrib-allowed-authors rule (#358) - thanks stauchert
- User Defined rules:
- Gitlint now recognizes
fixup=amend
commits (see related git documentation), available ascommit.is_fixup_amend_commit=True
- Gitlint now parses diff stat information, available in
commit.changed_files_stats
(#314)
- Gitlint now recognizes
- Bugfixes:
- Under-the-hood:
- Dependencies updated
- Moved to black for formatting
- Fixed nasty CI issue (#298)
- Unit tests fix (#256) - thanks carlsmedstad
- Vagrant box removed in favor of github dev containers (#348)
- Removed a few lingering references to the
master
branch in favor ofmain
- Moved roadmap and project planning to github projects
- Thanks to sigmavirus24 for continued overall help and support
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.