Skip to content

Commit d14ce03

Browse files
committed
Add Python-related pre-commit hooks
1 parent b5a74a4 commit d14ce03

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.pre-commit-config.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,13 @@ repos:
1313
- id: check-yaml
1414
- id: end-of-file-fixer
1515
- id: trailing-whitespace
16+
- repo: https://github.com/python/black
17+
rev: 23.3.0
18+
hooks:
19+
- id: black
20+
- repo: https://github.com/pycqa/pylint
21+
rev: v2.17.4
22+
hooks:
23+
- id: pylint
24+
name: pylint
25+
types: [python]

0 commit comments

Comments
 (0)