diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3c8e0c348..746ed8e03 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -51,6 +51,7 @@ repos: files: whitelist.txt - id: debug-statements # Checks for debugger imports and py37+ `breakpoint()` calls in python source. - id: pretty-format-json # Sets a standard for formatting JSON files. + exclude_types: [jupyter] - repo: https://github.com/pre-commit/pygrep-hooks rev: v1.10.0 hooks: @@ -58,7 +59,7 @@ repos: - id: rst-directive-colons # Detect mistake of rst directive not ending with double colon. - id: rst-inline-touching-normal # Detect mistake of inline code touching normal text in rst. - repo: https://github.com/psf/black - rev: 23.7.0 # Replace with any tag/version: https://github.com/psf/black/tags + rev: 23.9.1 # Replace with any tag/version: https://github.com/psf/black/tags hooks: - id: black language_version: python3 # Should be a command that runs python3.+ @@ -67,7 +68,7 @@ repos: language: python - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.286 + rev: v0.0.288 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix]