diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cf2933368a..572edd2781 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,4 +1,12 @@ fail_fast: true + +exclude: | + (?x)^( + crates/ruff/resources/.*| + crates/ruff_python_formatter/resources/.*| + crates/ruff_python_formatter/src/snapshots/.* + )$ + repos: - repo: https://github.com/abravalheri/validate-pyproject rev: v0.12.1 @@ -19,7 +27,7 @@ repos: - id: markdownlint-fix - repo: https://github.com/crate-ci/typos - rev: v1.14.8 + rev: v1.14.12 hooks: - id: typos diff --git a/_typos.toml b/_typos.toml index 8f5f834f9b..778ba59eaf 100644 --- a/_typos.toml +++ b/_typos.toml @@ -1,5 +1,5 @@ [files] -extend-exclude = ["snapshots", "black"] +extend-exclude = ["resources", "snapshots"] [default.extend-words] trivias = "trivias"