Skip to content

Commit

Permalink
pin flake8 and isort version in precommit hooks to match lint_require…
Browse files Browse the repository at this point in the history
…ments.txt
  • Loading branch information
neutrinoceros committed Jul 26, 2020
1 parent 4ab9621 commit 02d2945
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
- id: black
language_version: python3.7
- repo: https://github.com/timothycrosley/isort
rev: ''
rev: '5.1.4' # keep in sync with tests/lint_requirements.txt
hooks:
- id: isort
- repo: https://gitlab.com/pycqa/flake8
rev: ''
rev: '3.8.1' # keep in sync with tests/lint_requirements.txt
hooks:
- id: flake8
4 changes: 2 additions & 2 deletions tests/lint_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
flake8==3.8.1
flake8==3.8.1 # keep in sync with .pre-commit-config.yaml
mccabe==0.6.1
pycodestyle==2.6.0
pyflakes==2.2.0
isort~=5.1
isort==5.1.4 # keep in sync with .pre-commit-config.yaml
black==19.10b0
flake8-bugbear

0 comments on commit 02d2945

Please sign in to comment.