Skip to content

Commit 906b4f1

Browse files
committed
check precommit config into git
1 parent cf8011b commit 906b4f1

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

.pre-commit-config.yaml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
repos:
2+
3+
#- repo: https://github.com/psf/black
4+
# rev: 20.8b1
5+
# hooks:
6+
# - id: black
7+
8+
- repo: https://github.com/pre-commit/pre-commit-hooks
9+
rev: v3.4.0
10+
hooks:
11+
- id: check-added-large-files
12+
args: ['--maxkb=800']
13+
- id: check-case-conflict
14+
- id: check-merge-conflict
15+
- id: check-symlinks
16+
- id: check-yaml
17+
- id: check-json
18+
- id: debug-statements
19+
- id: end-of-file-fixer
20+
- id: mixed-line-ending
21+
- id: requirements-txt-fixer
22+
- id: trailing-whitespace
23+
24+
#- repo: https://github.com/PyCQA/isort
25+
# rev: 5.7.0
26+
# hooks:
27+
# - id: isort
28+
29+
- repo: https://github.com/asottile/pyupgrade
30+
rev: v2.7.4
31+
hooks:
32+
- id: pyupgrade
33+
args: ["--py36-plus"]
34+
35+
#- repo: https://github.com/pycqa/flake8
36+
# rev: 3.8.4
37+
# hooks:
38+
# - id: flake8
39+
# exclude: docs/conf.py
40+
# additional_dependencies: [flake8-bugbear, flake8-print]
41+
#
42+
#- repo: https://github.com/pre-commit/mirrors-mypy
43+
# rev: v0.800
44+
# hooks:
45+
# - id: mypy
46+
# files: src
47+
48+
- repo: https://github.com/psf/black
49+
rev: 20.8b1
50+
hooks:
51+
- id: black

0 commit comments

Comments
 (0)