diff options
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r-- | .pre-commit-config.yaml | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6c56f43..620c5be 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.4.0 + rev: v4.2.0 hooks: - id: check-merge-conflict - id: check-toml @@ -9,26 +9,31 @@ repos: - id: trailing-whitespace args: [--markdown-linebreak-ext=md] - repo: https://github.com/pre-commit/pygrep-hooks - rev: v1.6.0 + rev: v1.9.0 hooks: - id: python-check-blanket-noqa + - repo: https://github.com/PyCQA/isort + rev: 5.10.1 + hooks: + - id: isort + - repo: https://github.com/psf/black + rev: 22.3.0 + hooks: + - id: black + language_version: "3.10" - repo: https://github.com/PyCQA/flake8 - rev: &flake8_version 3.8.4 + rev: &flake8_version 4.0.1 hooks: - &flake8_hook id: flake8 additional_dependencies: - - flake8-annotations~=2.5.0 - - flake8-bugbear~=20.11 - - flake8-docstrings~=1.5 - - flake8-formatter-junit-xml~=0.0.6 - - flake8-import-order~=0.18.1 - - flake8-quotes~=3.2 + - flake8-annotations~=2.7 + - flake8-bugbear==22.4.25 + - flake8-docstrings~=1.4 - flake8-string-format~=0.3.0 - - flake8-tidy-imports~=4.2 - flake8-todo~=0.7 - - pep8-naming~=0.11.1 - - pydocstyle~=5.1 + - pep8-naming~=0.12.1 + - pydocstyle~=6.1,!=6.1.0 - repo: https://github.com/PyCQA/flake8 rev: *flake8_version hooks: |