Skip to content
This repository was archived by the owner on Jun 22, 2021. It is now read-only.

Commit abacba4

Browse files
authored
Create .pre-commit-config.yaml
1 parent de7b413 commit abacba4

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

.pre-commit-config.yaml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v2.5.0
4+
hooks:
5+
- id: trailing-whitespace
6+
- id: end-of-file-fixer
7+
- id: check-docstring-first
8+
- id: check-yaml
9+
- id: debug-statements
10+
- id: double-quote-string-fixer
11+
- id: name-tests-test
12+
- id: requirements-txt-fixer
13+
- repo: https://gitlab.com/pycqa/flake8
14+
rev: 3.8.0
15+
hooks:
16+
- id: flake8
17+
- repo: https://github.com/pre-commit/mirrors-autopep8
18+
rev: v1.5.2
19+
hooks:
20+
- id: autopep8
21+
- repo: https://github.com/asottile/reorder_python_imports
22+
rev: v2.3.0
23+
hooks:
24+
- id: reorder-python-imports
25+
args: [--py3-plus]
26+
- repo: https://github.com/asottile/pyupgrade
27+
rev: v2.4.1
28+
hooks:
29+
- id: pyupgrade
30+
args: [--py36-plus]
31+
- repo: https://github.com/asottile/add-trailing-comma
32+
rev: v2.0.1
33+
hooks:
34+
- id: add-trailing-comma
35+
args: [--py36-plus]
36+
- repo: https://github.com/asottile/setup-cfg-fmt
37+
rev: v1.9.0
38+
hooks:
39+
- id: setup-cfg-fmt
40+
- repo: https://github.com/pre-commit/mirrors-mypy
41+
rev: v0.770
42+
hooks:
43+
- id: mypy

0 commit comments

Comments
 (0)