diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 063b6fd..f414fae 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,29 +3,27 @@ repos: rev: 22.1.0 hooks: - id: black - language_version: python3.6 - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v1.4.0 + rev: v4.1.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml - id: debug-statements +- repo: https://github.com/PyCQA/flake8 + rev: 4.0.1 + hooks: - id: flake8 - additional_dependencies: ["flake8-bugbear == 18.8.0"] - language_version: python3.6 + additional_dependencies: ["flake8-bugbear==21.4.3"] - repo: https://github.com/asottile/pyupgrade rev: v2.31.0 hooks: - id: pyupgrade - language_version: python3 - repo: https://github.com/asottile/seed-isort-config rev: v2.2.0 hooks: - id: seed-isort-config - language_version: python3 - repo: https://github.com/PyCQA/isort rev: 5.10.1 hooks: - id: isort - language_version: python3