Skip to content

Commit 3f4a531

Browse files
committed
Add pre-commit configuration file
1 parent ebaf095 commit 3f4a531

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v4.5.0
4+
hooks:
5+
- id: trailing-whitespace
6+
- id: end-of-file-fixer
7+
- id: check-yaml
8+
- id: check-added-large-files
9+
- id: check-json
10+
- id: check-merge-conflict
11+
12+
- repo: https://github.com/psf/black
13+
rev: 24.2.0
14+
hooks:
15+
- id: black
16+
17+
- repo: https://github.com/PyCQA/flake8
18+
rev: 7.0.0
19+
hooks:
20+
- id: flake8
21+
args: [--max-line-length=100]

0 commit comments

Comments
 (0)