Skip to content

Commit 130dd8e

Browse files
Add pylint in the pre-commit configuration
1 parent 0670d09 commit 130dd8e

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.pre-commit-config.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# https://pre-commit.com/
1+
ci:
2+
skip: [pylint]
3+
24
repos:
35
- repo: https://github.com/pre-commit/pre-commit-hooks
46
rev: v4.5.0
@@ -24,3 +26,12 @@ repos:
2426
hooks:
2527
- id: isort
2628
args: ['--profile', 'black']
29+
- repo: local
30+
hooks:
31+
- id: pylint
32+
name: pylint
33+
entry: pylint
34+
language: system
35+
types: [python]
36+
args: ["-rn", "-sn", "--fail-on=I"]
37+
exclude: "tests/input/"

0 commit comments

Comments
 (0)