Anthony Sottile
|
8f6152921e
|
drop python3.6 support
python 3.6 reached end of life on 2021-12-23
Committed via https://github.com/asottile/all-repos
|
2022-01-15 19:24:05 -05:00 |
Mikhail Khvoinitsky
|
10c5e4e166
|
forbid-new-submodules: fix triggering failure when only a submodule is committed (without any other file); support --from-ref and --to-ref; fixes #609
|
2021-08-13 21:32:08 +03:00 |
Nicholas Devenish
|
3abbd4785c
|
no-commit-to-branch: Default to both master and main
|
2021-03-04 15:59:25 +00:00 |
Anthony Sottile
|
f5c42a050b
|
pre-commit-hooks: python3.6+
|
2020-02-05 11:22:18 -08:00 |
Marc Jay
|
8d2785b9d6
|
Amend approach for no-commit-to-branch to use regex matching based on
feedback. Adds --pattern optional argument which can be used alongside
--branch to block commits to a branch which matches a supplied
regex expression
|
2019-04-20 13:46:49 +01:00 |
Marc Jay
|
d6847c4827
|
Add wildcard matching to no-commit-to-branch hook so that commits can
be blocked on, for example, all release branches with 'release/*'
|
2019-04-09 23:53:39 +01:00 |
Anthony Sottile
|
030bfac7e4
|
Apply typing to all of pre-commit-hooks
|
2019-01-31 20:09:15 -08:00 |
Anthony Sottile
|
baec308367
|
Allow multiple branches to be protected
Original patch by @moas
|
2018-06-09 11:18:33 -07:00 |
Anthony Sottile
|
2aa7aeb572
|
git mv tests/{check_,}no_commit_to_branch_test.py
|
2018-06-09 11:10:43 -07:00 |