File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 5151 - uses : pre-commit/action@v3.0.1
5252 name : Run pre-commit checks (no spaces at end of lines, etc)
5353 with :
54- extra_args : --all-files --verbose --hook-stage commit
54+ extra_args : --all-files --verbose --hook-stage pre- commit
5555 env :
5656 SKIP : no-commit-to-branch
5757
Original file line number Diff line number Diff line change 1313# # For manually executing the pre-push hook:
1414# pre-commit run -av --hook-stage pre-push
1515#
16- default_stages : [commit, push]
16+ default_stages : [pre- commit, pre- push]
1717default_language_version :
1818 python : python3.11
1919repos :
6868 entry : env PYTHONDEVMODE=yes sh -c 'coverage run && coverage xml &&
6969 coverage html && coverage report &&
7070 diff-cover --ignore-whitespace --compare-branch=origin/master
71- --show-uncovered --html-report .git/coverage-diff.html
71+ --show-uncovered --format html: .git/coverage-diff.html
7272 --fail-under 50 .git/coverage3.11.xml'
7373 require_serial : true
7474 pass_filenames : false
@@ -108,7 +108,7 @@ repos:
108108 hooks :
109109 - id : pylint
110110 files : python3/
111- stages : [push]
111+ stages : [pre- push]
112112 name : check that changes to python3 tree pass pylint
113113 entry : diff-quality --violations=pylint
114114 --ignore-whitespace --compare-branch=origin/master
@@ -134,7 +134,7 @@ repos:
134134 entry : python3 pytype_reporter.py
135135 pass_filenames : false
136136 types : [python]
137- stages : [push]
137+ stages : [pre- push]
138138 verbose : true
139139 # This hook runs locally only when Python files change:
140140 language : python
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ in the [pre-commit] configuration file [.pre-commit-config.yaml].
5252 entry : sh -c 'coverage run && coverage xml &&
5353 coverage html && coverage report &&
5454 diff-cover --ignore-whitespace --compare-branch=origin/master
55- --show-uncovered --html-report .git/coverage-diff.html
55+ --show-uncovered --format html: .git/coverage-diff.html
5656 --fail-under 50 .git/coverage3.11.xml'
5757 require_serial : true
5858 pass_filenames : false
You can’t perform that action at this time.
0 commit comments