Skip to content

Commit 85bbd1a

Browse files
nejchJohnVillalovos
authored andcommitted
chore: add missing linters to pre-commit and pin versions
1 parent d981956 commit 85bbd1a

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

.pre-commit-config.yaml

+8
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

.renovaterc.json

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
"extends": [
33
"config:base"
44
],
5+
"pip_requirements": {
6+
"fileMatch": ["^requirements(-[\\w]*)?\\.txt$"]
7+
},
58
"regexManagers": [
69
{
710
"fileMatch": ["^tests/functional/fixtures/.env$"],

requirements-lint.txt

+4-4
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)