File tree Expand file tree Collapse file tree 4 files changed +8
-13
lines changed Expand file tree Collapse file tree 4 files changed +8
-13
lines changed Original file line number Diff line number Diff line change 3838 language : python
3939 additional_dependencies : [pygments, restructuredtext_lint]
4040 - id : changelogs-rst
41- name : changelog files must end in .rst
42- entry : ./scripts/fail
43- language : script
44- files : ' changelog/.*(?<!\.rst)$'
41+ name : changelog filenames
42+ language : fail
43+ entry : ' changelog files must be named ####.(feature|bugfix|doc|removal|vendor|trivial).rst'
44+ exclude : changelog/(\d+\.(feature|bugfix|doc|removal|vendor|trivial).rst|README.rst|_template.rst)
45+ files : ^changelog/
Original file line number Diff line number Diff line change 1+ Improve pre-commit detection for changelog filenames
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ commands =
4848[testenv:linting]
4949skip_install = True
5050basepython = python3.6
51- deps = pre-commit
51+ deps = pre-commit>=1.11.0
5252commands = pre-commit run --all-files --show-diff-on-failure
5353
5454[testenv:py27-xdist]
@@ -195,7 +195,7 @@ passenv = *
195195deps =
196196 colorama
197197 gitpython
198- pre-commit
198+ pre-commit>=1.11.0
199199 towncrier
200200 wheel
201201commands = python scripts/release.py {posargs}
You can’t perform that action at this time.
0 commit comments