Skip to content

Commit

Permalink
chore: update pre-commit config (#3678)
Browse files Browse the repository at this point in the history
* chore: update pre-commit config

* fix: pre-commit 3.6.0 needs python > 3.8

---------

Co-authored-by: GitHub <[email protected]>
Co-authored-by: Terri Oda <[email protected]>
  • Loading branch information
3 people committed Jan 4, 2024
1 parent 78a49d8 commit 520d314
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
repos:
- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
exclude: ^fuzz/generated/

- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.10.1
rev: 23.12.1
hooks:
- id: black
exclude: ^fuzz/generated/
Expand All @@ -25,7 +25,7 @@ repos:
exclude: ^fuzz/generated/

- repo: https://github.com/PyCQA/bandit
rev: 1.7.5
rev: 1.7.6
hooks:
- id: bandit
exclude: ^fuzz/generated/
Expand All @@ -37,7 +37,7 @@ repos:
- id: gitlint

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.6.1
rev: v1.8.0
hooks:
- id: mypy
additional_dependencies:
Expand Down
12 changes: 6 additions & 6 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
black==23.10.1
black==23.12.1
isort; python_version < "3.8"
isort==5.12.0; python_version >= "3.8"
pre-commit; python_version < "3.8"
pre-commit==3.5.0; python_version >= "3.8"
isort==5.13.2; python_version >= "3.8"
pre-commit; python_version <= "3.8"
pre-commit==3.6.0; python_version > "3.8"
flake8; python_version < "3.8"
flake8==6.1.0; python_version >= "3.8"
bandit==1.7.5
bandit==1.7.6
gitlint==v0.19.1
interrogate
mypy==v1.6.1
mypy==v1.8.0
pytest>=7.2.0
pytest-xdist
pytest-cov
Expand Down

0 comments on commit 520d314

Please sign in to comment.