diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 027b6b7..2b16981 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,7 +13,7 @@ minimum_pre_commit_version: '1.15.0' repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.3.0 + rev: v4.5.0 hooks: - id: check-added-large-files - id: check-ast @@ -40,8 +40,8 @@ repos: args: [--markdown-linebreak-ext=md] # Preserve Markdown hard linebreaks # # Docformatter https://pypi.org/project/docformatter/ -- repo: https://github.com/myint/docformatter - rev: v1.3.1 +- repo: https://github.com/PyCQA/docformatter + rev: v1.7.5 hooks: - id: docformatter args: @@ -56,13 +56,13 @@ repos: # Add trailing commas https://github.com/asottile/add-trailing-comma - repo: https://github.com/asottile/add-trailing-comma - rev: v2.0.1 + rev: v3.1.0 hooks: - id: add-trailing-comma # iSort https://pycqa.github.io/isort/ -- repo: https://github.com/timothycrosley/isort - rev: 5.6.4 +- repo: https://github.com/PyCQA/isort + rev: 5.13.2 hooks: - id: isort args: @@ -75,7 +75,7 @@ repos: # Black https://black.readthedocs.io/en/stable/ - repo: https://github.com/psf/black - rev: 20.8b1 + rev: 24.1.1 hooks: - id: black args: @@ -83,8 +83,8 @@ repos: - --line-length=79 # Flask8 https://flake8.pycqa.org/en/latest/index.html# -- repo: https://gitlab.com/pycqa/flake8 - rev: 3.8.4 +- repo: https://github.com/PyCQA/flake8 + rev: 7.0.0 hooks: - id: flake8 exclude: description.py @@ -96,7 +96,7 @@ repos: # Unimport https://unimport.hakancelik.dev/#/ - repo: https://github.com/hakancelik96/unimport - rev: 0.6.8 + rev: 1.2.1 hooks: - id: unimport args: @@ -107,19 +107,19 @@ repos: # Pyupgrade https://github.com/asottile/pyupgrade - repo: https://github.com/asottile/pyupgrade - rev: v2.7.4 + rev: v3.15.0 hooks: - id: pyupgrade # Saftey https://pyup.io/safety/ - repo: https://github.com/Lucas-C/pre-commit-hooks-safety - rev: v1.1.3 + rev: v1.3.3 hooks: - id: python-safety-dependencies-check # # Interrogate https://interrogate.readthedocs.io/en/latest/ - repo: https://github.com/econchick/interrogate - rev: 7a0823fb29ddcd955eaf3aa91e7e93c8ca6bfbfd + rev: 1.5.0 hooks: - id: interrogate args: