Skip to content

Commit 795f6fe

Browse files
committed
chore: add pre-commit
1 parent c3d1e5c commit 795f6fe

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.pre-commit-config.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v4.0.1
4+
hooks:
5+
- id: check-added-large-files
6+
- id: check-case-conflict
7+
- id: check-merge-conflict
8+
- id: check-symlinks
9+
- id: check-yaml
10+
- id: debug-statements
11+
- id: end-of-file-fixer
12+
- id: mixed-line-ending
13+
- id: requirements-txt-fixer
14+
- id: trailing-whitespace
15+
16+
- repo: https://gitlab.com/pycqa/flake8
17+
rev: 3.9.2
18+
hooks:
19+
- id: flake8
20+
additional_dependencies: [flake8-bugbear]

0 commit comments

Comments
 (0)