diff --git a/.aspect/bazelrc/correctness.bazelrc b/.aspect/bazelrc/correctness.bazelrc index a599f6d85..f381062ae 100644 --- a/.aspect/bazelrc/correctness.bazelrc +++ b/.aspect/bazelrc/correctness.bazelrc @@ -68,7 +68,7 @@ build --incompatible_default_to_explicit_init_py common --incompatible_disallow_empty_glob # Always download coverage files for tests from the remote cache. By default, coverage files are not -# downloaded on test result cahce hits when --remote_download_minimal is enabled, making it impossible +# downloaded on test result cache hits when --remote_download_minimal is enabled, making it impossible # to generate a full coverage report. # Docs: https://bazel.build/reference/command-line-reference#flag--experimental_fetch_all_coverage_outputs # detching remote cache results diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d210d6e09..d9a61178f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -36,6 +36,15 @@ repos: exclude: &exclude_pattern "^(docs|e2e|lib/tests)/" - id: mixed-line-ending - id: trailing-whitespace + - repo: https://github.com/crate-ci/typos + rev: typos-dict-v0.11.2 + hooks: + - id: typos + exclude: | + (?x)^( + docs/| + lib/ + ) - repo: local hooks: - id: aspect_rules_lint diff --git a/README.md b/README.md index 4edcb912a..36eff007c 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ For example to use commit `abc123`: ## Writing rules -- [expand_make_vars](docs/expand_make_vars.md) Perform make variable and location substitions in strings.. +- [expand_make_vars](docs/expand_make_vars.md) Perform make variable and location substitutions in strings.. - [expand_template](docs/expand_template.md) Substitute templates with make variables, location resolves, stamp variables, and arbitrary strings. - [paths](docs/paths.md) Useful path resolution methods. - [transitions](docs/transitions.md) Transition sources to a provided platform.