diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 366a01d..67d4a9e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,7 +16,7 @@ ci: repos: # Best Practices - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: check-builtin-literals - id: check-executables-have-shebangs @@ -32,13 +32,13 @@ repos: args: [--markdown-linebreak-ext=md] # Formatting - - repo: https://github.com/psf/black - rev: 25.1.0 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 25.12.0 hooks: - id: black - repo: https://github.com/PyCQA/isort - rev: 6.0.1 + rev: 7.0.0 hooks: - id: isort args: [ @@ -49,39 +49,39 @@ repos: ] - repo: https://github.com/maxwinterstein/shfmt-py - rev: v3.7.0.1 + rev: v3.12.0.1 hooks: - id: shfmt # Linting - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.9.9 + rev: v0.14.10 hooks: - id: ruff args: [--fix] exclude: ^(test_utils/|migrations/|setup\.py)$ - repo: https://github.com/AleksaC/hadolint-py - rev: v2.12.1b3 + rev: v2.14.0 hooks: - id: hadolint args: [--config, .hadolint.yaml] - repo: https://github.com/shellcheck-py/shellcheck-py - rev: v0.10.0.1 + rev: v0.11.0.1 hooks: - id: shellcheck # Code Quality - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.15.0 + rev: v1.19.1 hooks: - id: mypy args: [--config-file, pyproject.toml, --warn-unused-configs] # Security - repo: https://github.com/PyCQA/bandit - rev: 1.8.3 + rev: 1.9.2 hooks: - id: bandit args: [-c, pyproject.toml, -r] @@ -89,14 +89,14 @@ repos: # Documentation, Spelling - repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook - rev: v9.21.0 + rev: v9.23.0 hooks: - id: commitlint stages: [commit-msg] additional_dependencies: ['@commitlint/config-conventional'] - repo: https://github.com/igorshubovych/markdownlint-cli - rev: 'v0.44.0' + rev: 'v0.47.0' hooks: - id: markdownlint args: ['-f'] diff --git a/src/config/settings/develop.py b/src/config/settings/develop.py index b596827..87aa82a 100644 --- a/src/config/settings/develop.py +++ b/src/config/settings/develop.py @@ -1,4 +1,4 @@ -# ruff: noqa: F401, F405 +# ruff: noqa: F401 """Django `development` settings for config project. Development target settings for the Django project inherited diff --git a/src/config/settings/production.py b/src/config/settings/production.py index 0f475ca..0c9a3ec 100644 --- a/src/config/settings/production.py +++ b/src/config/settings/production.py @@ -1,4 +1,4 @@ -# ruff: noqa: F401, F405 +# ruff: noqa: F401 """Django `production` settings for config project. For more information on this file, see diff --git a/src/config/settings/staging.py b/src/config/settings/staging.py index 8a7df76..47af2b8 100644 --- a/src/config/settings/staging.py +++ b/src/config/settings/staging.py @@ -1,4 +1,4 @@ -# ruff: noqa: F401, F405 +# ruff: noqa: F401 """Django `staging` settings for config project. For more information on this file, see