diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b159f0f..1b40fbb 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: [ @@ -9,21 +9,21 @@ repos: "--skip=migrations" ] - - repo: https://github.com/ambv/black - rev: 22.3.0 + - repo: https://github.com/psf/black + rev: 24.10.0 hooks: - id: black language_version: python3.9 - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v0.941" # Use the sha / tag you want to point at + rev: "v1.12.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.1.0 + rev: v5.0.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: "4.0.1" # pick a git hash / tag to point to + rev: "7.1.1" # 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: v2.31.1 + rev: v3.18.0 hooks: - id: pyupgrade args: - "--py37-plus" - repo: https://github.com/compilerla/conventional-pre-commit - rev: v1.2.0 + rev: v3.6.0 hooks: - id: conventional-pre-commit stages: [commit-msg]