We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 435e856 commit 8df4e05Copy full SHA for 8df4e05
.pre-commit-config.yaml
@@ -0,0 +1,24 @@
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: end-of-file-fixer
9
+
10
+- repo: https://github.com/psf/black
11
+ rev: stable
12
13
+ - id: black
14
15
+- repo: https://gitlab.com/pycqa/flake8
16
+ rev: 4.0.1
17
18
+ - id: flake8
19
20
+# Disabled for now, because it lists a lot of problems.
21
+#- repo: https://github.com/pre-commit/mirrors-mypy
22
+# rev: 'v0.931'
23
+# hooks:
24
+# - id: mypy
linter-requirements.txt
@@ -4,3 +4,4 @@ flake8-import-order==0.18.1
mypy==0.782
flake8-bugbear==21.4.3
pep8-naming==0.11.1
+pre-commit # local linting
0 commit comments