Skip to content

Commit

Permalink
Fix pinning of black and flake8 for tox and pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
MHendricks committed Sep 4, 2024
1 parent 812ecc4 commit 2c63a8a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ repos:
- id: black

- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
rev: 6.0.0
hooks:
- id: flake8
additional_dependencies:
- flake8-bugbear==22.12.6
- pep8-naming==0.13.3
- flake8-bugbear==21.3.2
- pep8-naming==0.11.1

- repo: https://github.com/asottile/setup-cfg-fmt
rev: v2.2.0
Expand All @@ -21,7 +21,7 @@ repos:
args: [--min-py3-version=3.6]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.6.0
hooks:
- id: check-json
- id: check-toml
Expand All @@ -33,7 +33,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/PyCQA/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
name: isort (python)
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ commands =
[testenv:black]
basepython = python3
deps =
black
black==22.12.0
commands =
black . --check

[testenv:flake8]
basepython = python3
deps =
flake8
flake8-bugbear
pep8-naming
flake8==5.0.4
flake8-bugbear==22.12.6
pep8-naming==0.13.3
commands =
flake8 .

0 comments on commit 2c63a8a

Please sign in to comment.