File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 72
72
- name : Run pre-commit checks
73
73
run : |
74
74
. venv/bin/activate
75
- pre-commit run pylint --all-files
75
+ pre-commit run --hook-stage manual pylint-ci --all-files
76
76
77
77
tests-linux :
78
78
name : tests / run / ${{ matrix.python-version }} / Linux
Original file line number Diff line number Diff line change @@ -41,6 +41,20 @@ repos:
41
41
- repo : local
42
42
hooks :
43
43
- id : pylint
44
+ name : pylint
45
+ entry : pylint
46
+ language : system
47
+ types : [python]
48
+ args : [
49
+ " -rn" ,
50
+ " -sn" ,
51
+ " --rcfile=pylintrc" ,
52
+ # "--load-plugins=pylint.extensions.docparams", We're not ready for that
53
+ ]
54
+ # We define an additional manual step to allow running pylint
55
+ # with the proper output for CI.
56
+ - id : pylint
57
+ alias : pylint-ci
44
58
name : pylint
45
59
entry : pylint
46
60
language : system
52
66
" --output-format=github" ,
53
67
# "--load-plugins=pylint.extensions.docparams", We're not ready for that
54
68
]
69
+ stages : [manual]
55
70
- repo : https://github.com/pre-commit/mirrors-mypy
56
71
rev : v1.17.1
57
72
hooks :
You can’t perform that action at this time.
0 commit comments