Skip to content

Commit 4af5f63

Browse files
ChrisChris
authored andcommitted
chore: add linting and formatting
1 parent 6d1712a commit 4af5f63

File tree

1 file changed

+20
-7
lines changed

1 file changed

+20
-7
lines changed

.pre-commit-config.yaml

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,24 @@
11
repos:
2-
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.3.0
4-
hooks:
5-
- id: check-yaml
6-
- id: end-of-file-fixer
7-
- id: trailing-whitespace
2+
# - repo: https://github.com/pre-commit/pre-commit-hooks
3+
# rev: v4.3.0
4+
# hooks:
5+
# - id: check-yaml
6+
# - id: end-of-file-fixer
7+
# - id: trailing-whitespace
88
- repo: https://github.com/psf/black
99
rev: 22.8.0
1010
hooks:
11-
- id: black
11+
- id: black
12+
- repo: local
13+
hooks:
14+
- id: pylint
15+
name: pylint
16+
entry: pylint
17+
language: system
18+
types: [python]
19+
args:
20+
[
21+
"-rn", # Only display messages
22+
"-sn", # Don't display the score
23+
"--rcfile=.pylintrc", # Link to your config file
24+
]

0 commit comments

Comments
 (0)