diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 873e529..1db4f78 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,7 @@ repos: rev: v1.9.0 hooks: - id: python-check-blanket-noqa -- repo: https://github.com/timothycrosley/isort +- repo: https://github.com/PyCQA/isort rev: 5.10.1 hooks: - id: isort @@ -23,11 +23,11 @@ repos: rev: 22.8.0 hooks: - id: black -- repo: https://gitlab.com/pycqa/flake8 - rev: 3.9.2 +- repo: https://github.com/PyCQA/flake8 + rev: 5.0.4 hooks: - id: flake8 additional_dependencies: - - flake8-bugbear==20.1.4 - - flake8-builtins==1.5.3 - - flake8-comprehensions==3.2.3 + - flake8-bugbear + - flake8-builtins + - flake8-comprehensions diff --git a/tox.ini b/tox.ini index 876d6c9..6d8fa5a 100644 --- a/tox.ini +++ b/tox.ini @@ -27,7 +27,7 @@ commands_post = echo "open docs/_build/index.html" [flake8] -max-line-length = 88 +max-line-length = 100 max-complexity = 13 # These checks violate PEP8 so let's ignore them extend-ignore = E203