diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 67d612a..30fbb52 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -32,7 +32,7 @@ repos: - id: end-of-file-fixer - repo: https://github.com/domdfcoding/pre-commit-hooks - rev: v0.5.0 + rev: v0.6.0 hooks: - id: requirements-txt-sorter args: @@ -80,12 +80,15 @@ repos: - id: snippet-fmt - repo: https://github.com/python-formate/formate - rev: v1.1.2 + rev: v1.2.0 hooks: - id: formate exclude: ^(doc-source/conf|__pkginfo__|setup)\.(_)?py$ additional_dependencies: - formate-trailing-commas>=0.1.1 + types_or: + - python + - pyi - repo: https://github.com/python-coincidence/dep_checker rev: v0.9.0 diff --git a/tox.ini b/tox.ini index b172495..caa63bb 100644 --- a/tox.ini +++ b/tox.ini @@ -40,7 +40,7 @@ requires = pip>=21,!=22.2 tox-envlist>=0.2.1 tox~=3.0 - virtualenv!=20.16.0 + virtualenv!=20.16.0,<20.39 [envlists] test =