File tree Expand file tree Collapse file tree 3 files changed +26
-16
lines changed
project-template/{{cookiecutter.repo_name}} Expand file tree Collapse file tree 3 files changed +26
-16
lines changed Original file line number Diff line number Diff line change @@ -11,16 +11,6 @@ repos:
1111 entry : poetry run -- nox -s project:fix
1212 stages : [ pre-commit ]
1313
14- - repo : https://github.com/pre-commit/pre-commit-hooks
15- rev : v4.4.0
16- hooks :
17- - id : check-yaml
18- stages : [ pre-commit ]
19- - id : end-of-file-fixer
20- stages : [ pre-commit ]
21- - id : trailing-whitespace
22- stages : [ pre-commit ]
23-
2414 - repo : local
2515 hooks :
2616 - id : type-check
@@ -40,3 +30,13 @@ repos:
4030 language : system
4131 entry : poetry run -- nox -s lint:code
4232 stages : [ pre-push ]
33+
34+ - repo : https://github.com/pre-commit/pre-commit-hooks
35+ rev : v5.0.0
36+ hooks :
37+ - id : check-yaml
38+ stages : [ pre-commit ]
39+ - id : end-of-file-fixer
40+ stages : [ pre-commit ]
41+ - id : trailing-whitespace
42+ stages : [ pre-commit ]
Original file line number Diff line number Diff line change 11# Unreleased
2+
3+ ## Bugfixes
4+
5+ * #489 : Fixed .pre-commit-config.yaml to use existing nox tasks
Original file line number Diff line number Diff line change 1- default_stages : [ commit ]
1+ default_stages : [ pre- commit, pre-push ]
22repos :
33
44 - repo : local
88 types : [ python ]
99 pass_filenames : false
1010 language : system
11- entry : poetry run -- nox -s fix
11+ entry : poetry run -- nox -s project:fix
12+ stages : [ pre-commit ]
1213
1314 - repo : local
1415 hooks :
1718 types : [ python ]
1819 pass_filenames : false
1920 language : system
20- entry : poetry run -- nox -s type-check
21+ entry : poetry run -- nox -s lint:typing
22+ stages : [ pre-push ]
2123
2224 - repo : local
2325 hooks :
@@ -26,11 +28,15 @@ repos:
2628 types : [ python ]
2729 pass_filenames : false
2830 language : system
29- entry : poetry run -- nox -s lint
31+ entry : poetry run -- nox -s lint:code
32+ stages : [ pre-push ]
3033
3134 - repo : https://github.com/pre-commit/pre-commit-hooks
32- rev : v4.4 .0
35+ rev : v5.0 .0
3336 hooks :
3437 - id : check-yaml
38+ stages : [ pre-commit ]
3539 - id : end-of-file-fixer
36- - id : trailing-whitespace
40+ stages : [ pre-commit ]
41+ - id : trailing-whitespace
42+ stages : [ pre-commit ]
You can’t perform that action at this time.
0 commit comments