diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e329ed654..85a6bc9d0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,14 +18,12 @@ repos: rev: 5.13.2 hooks: - id: isort - language_version: python3.11 # Code Formatters - repo: https://github.com/psf/black rev: 24.8.0 hooks: - id: black - language_version: python3.11 - repo: https://github.com/pre-commit/mirrors-clang-format rev: v19.1.0 @@ -38,6 +36,7 @@ repos: rev: v2.3.0 hooks: - id: codespell + args: ['--write-changes'] # Linters and Static Analysis Tools - repo: https://github.com/pre-commit/mirrors-mypy @@ -45,17 +44,14 @@ repos: hooks: - id: mypy args: ["--explicit-package-bases"] - language_version: python3.11 - repo: https://github.com/PyCQA/pylint rev: v3.3.1 hooks: - id: pylint - language_version: python3.11 - repo: https://github.com/PyCQA/bandit rev: 1.7.10 hooks: - id: bandit - language_version: python3.11 args: ["--severity-level", "medium"]