diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2fa1254a6..7489004bd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,6 @@ +default_language_version: + python: python3.9 + repos: - repo: https://github.com/PyCQA/isort rev: 5.13.2 @@ -7,3 +10,8 @@ repos: rev: 24.4.2 hooks: - id: black + + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.6.0 + hooks: + - id: no-commit-to-branch