Skip to content

Commit 4861f79

Browse files
Basudev Bharat BhushanBasudev Bharat Bhushan
authored andcommitted
add pre-commit
1 parent 2b5bd6d commit 4861f79

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.pre-commit-config.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v2.3.0
4+
hooks:
5+
- id: check-yaml
6+
- id: end-of-file-fixer
7+
- id: trailing-whitespace
8+
- repo: https://github.com/psf/black
9+
rev: 22.10.0
10+
hooks:
11+
- id: black
12+
13+
- repo: local
14+
hooks:
15+
- id: pylint
16+
name: pylint
17+
entry: pylint
18+
language: system
19+
types: [python]
20+
require_serial: true
21+
args: [
22+
"-rn", # Only display messages
23+
"-sn", # Don't display the score
24+
]
25+
files: ^app/.*\.py$

0 commit comments

Comments
 (0)