diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b159f0f..d1335a4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,21 +9,21 @@ repos: "--skip=migrations" ] - - repo: https://github.com/ambv/black - rev: 22.3.0 + - repo: https://github.com/psf/black + rev: 23.1.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.1.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: v4.4.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: "6.0.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: v2.31.1 + rev: v3.3.1 hooks: - id: pyupgrade args: - "--py37-plus" - repo: https://github.com/compilerla/conventional-pre-commit - rev: v1.2.0 + rev: v2.1.1 hooks: - id: conventional-pre-commit stages: [commit-msg]