You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .pre-commit-config.yaml
+17-9
Original file line number
Diff line number
Diff line change
@@ -18,17 +18,25 @@ repos:
18
18
- id: end-of-file-fixer
19
19
- id: trailing-whitespace
20
20
- repo: https://github.com/pycqa/pylint
21
-
rev: pylint-2.7.1
21
+
rev: v2.11.1
22
22
hooks:
23
23
- id: pylint
24
24
name: pylint (library code)
25
25
types: [python]
26
-
exclude: "^(docs/|examples/|setup.py$)"
27
-
-repo: local
28
-
hooks:
29
-
- id: pylint_examples
30
-
name: pylint (examples code)
26
+
args:
27
+
- --disable=consider-using-f-string
28
+
exclude: "^(docs/|examples/|tests/|setup.py$)"
29
+
- id: pylint
30
+
name: pylint (example code)
31
31
description: Run pylint rules on "examples/*.py" files
32
-
entry: /usr/bin/env bash -c
33
-
args: ['([[ ! -d "examples" ]] || for example in $(find . -path "./examples/*.py"); do pylint --disable=missing-docstring,invalid-name $example; done)']
0 commit comments