Skip to content

Commit 718b8a4

Browse files
committed
chore: add missing linters to pre-commit and pin versions
1 parent d981956 commit 718b8a4

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.pre-commit-config.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,15 @@ repos:
1212
- id: commitlint
1313
additional_dependencies: ['@commitlint/config-conventional']
1414
stages: [commit-msg]
15+
- repo: https://github.com/pycqa/flake8
16+
rev: 3.9.2
17+
hooks:
18+
- id: flake8
1519
- repo: https://github.com/pycqa/isort
1620
rev: 5.8.0
1721
hooks:
1822
- id: isort
23+
- repo: https://github.com/pre-commit/mirrors-mypy
24+
rev: v0.812
25+
hooks:
26+
- id: mypy

requirements-lint.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
black
2-
flake8
3-
isort
4-
mypy
1+
black==20.8b1
2+
flake8==3.9.2
3+
isort==5.8.0
4+
mypy==0.812

0 commit comments

Comments
 (0)