diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d5d0b61..aaa00eb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pycqa/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort args: [ @@ -10,20 +10,20 @@ repos: ] - repo: https://github.com/psf/black - rev: 23.1.0 + rev: 24.4.2 hooks: - id: black language_version: python3.8 - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.1.1" # Use the sha / tag you want to point at + rev: "v1.10.1" # Use the sha / tag you want to point at hooks: - id: mypy args: [ "--allow-untyped-globals", "--ignore-missing-imports" ] additional_dependencies: [ types-all ] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.6.0 hooks: - id: trailing-whitespace - id: check-yaml @@ -33,7 +33,7 @@ repos: - id: check-added-large-files - repo: https://github.com/pycqa/flake8 - rev: "6.0.0" # pick a git hash / tag to point to + rev: "7.1.0" # pick a git hash / tag to point to hooks: - id: flake8 args: [ "--ignore=E501,W503,W504,E203,E251,E266,E401,E126,E124,C901" ] @@ -42,13 +42,13 @@ repos: ] - repo: https://github.com/asottile/pyupgrade - rev: v3.3.1 + rev: v3.16.0 hooks: - id: pyupgrade args: - "--py37-plus" - repo: https://github.com/compilerla/conventional-pre-commit - rev: v2.1.1 + rev: v3.3.0 hooks: - id: conventional-pre-commit stages: [commit-msg]