Skip to content

Commit e4de3ad

Browse files
committed
adds a pre-commit config
1 parent 85589de commit e4de3ad

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.pre-commit-config.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# See https://pre-commit.com for more information
2+
# See https://pre-commit.com/hooks.html for more hooks
3+
repos:
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
5+
rev: v3.2.0
6+
hooks:
7+
- id: trailing-whitespace
8+
- id: check-yaml
9+
- id: check-added-large-files
10+
- id: debug-statements
11+
- repo: https://github.com/psf/black
12+
rev: 21.11b0
13+
hooks:
14+
- id: black
15+
- repo: https://github.com/pycqa/flake8
16+
rev: 3.9.2
17+
hooks:
18+
- id: flake8
19+

0 commit comments

Comments
 (0)