diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b76ed05..2c1873b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,36 +1,36 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.0.1 + rev: v4.6.0 hooks: - id: check-docstring-first - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/asottile/setup-cfg-fmt - rev: v1.20.0 + rev: v2.5.0 hooks: - id: setup-cfg-fmt - repo: https://github.com/PyCQA/flake8 - rev: 4.0.1 + rev: 7.0.0 hooks: - id: flake8 args: [ "--ignore=E203,E501", "--max-complexity=12"] additional_dependencies: [ flake8-typing-imports==1.7.0 ] - - repo: https://github.com/myint/autoflake - rev: v1.4 + - repo: https://github.com/PyCQA/autoflake + rev: v2.3.1 hooks: - id: autoflake args: [ "--in-place", "--remove-all-unused-imports" ] - repo: https://github.com/PyCQA/isort - rev: 5.10.1 + rev: 5.13.2 hooks: - id: isort args: [ "--profile", "black" ] - repo: https://github.com/psf/black - rev: 22.3.0 + rev: 24.4.2 hooks: - id: black - repo: https://github.com/asottile/pyupgrade - rev: v2.29.1 + rev: v3.16.0 hooks: - id: pyupgrade args: [ --py37-plus, --keep-runtime-typing ]