diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5850a78..c87ba73 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,7 +10,7 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.11.2 + rev: v1.12.1 hooks: - id: mypy additional_dependencies: @@ -35,7 +35,7 @@ repos: exclude: ".*/test_.*\\.py|.*/conftest\\.py|src/rest_api_postgres/python/.*|src/pyp3_mock_data/.*|src/pyo3_mock_data/.*" args: [--explicit-package-bases] # This is because of the mono repo type setup - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.11.2 + rev: v1.12.1 hooks: - id: mypy pass_filenames: false @@ -51,14 +51,14 @@ repos: ] entry: bash -c 'cd src/rest_api_postgres/python && mypy -p app "$@"' -- - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.11.2 + rev: v1.12.1 hooks: - id: mypy pass_filenames: false files: ^src/pyp3_mock_data/ entry: bash -c 'cd src/pyo3_mock_data && mypy -p pyp3_mock_data "$@"' -- - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.9 + rev: v0.7.0 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix]