Skip to content

Commit

Permalink
chore: add missing linters to pre-commit and pin versions
Browse files Browse the repository at this point in the history
  • Loading branch information
nejch authored and JohnVillalovos committed Jun 2, 2021
1 parent d981956 commit 85bbd1a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Expand Up @@ -12,7 +12,15 @@ repos:
- id: commitlint
additional_dependencies: ['@commitlint/config-conventional']
stages: [commit-msg]
- repo: https://github.com/pycqa/flake8
rev: 3.9.2
hooks:
- id: flake8
- repo: https://github.com/pycqa/isort
rev: 5.8.0
hooks:
- id: isort
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.812
hooks:
- id: mypy
3 changes: 3 additions & 0 deletions .renovaterc.json
Expand Up @@ -2,6 +2,9 @@
"extends": [
"config:base"
],
"pip_requirements": {
"fileMatch": ["^requirements(-[\\w]*)?\\.txt$"]
},
"regexManagers": [
{
"fileMatch": ["^tests/functional/fixtures/.env$"],
Expand Down
8 changes: 4 additions & 4 deletions requirements-lint.txt
@@ -1,4 +1,4 @@
black
flake8
isort
mypy
black==20.8b1
flake8==3.9.2
isort==5.8.0
mypy==0.812

0 comments on commit 85bbd1a

Please sign in to comment.