diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 43929636..a8a4e7e7 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -257,4 +257,4 @@ jobs: uses: actions/checkout@v4 - name: Check the spelling of the files in our repo - uses: crate-ci/typos@v1.20.8 + uses: crate-ci/typos@v1.28.4 diff --git a/.typos.toml b/.typos.toml deleted file mode 100644 index 5e8cd2ac..00000000 --- a/.typos.toml +++ /dev/null @@ -1,4 +0,0 @@ -[default.extend-identifiers] -# Typos in previous type names, mentioned in changelog -DefaultOnFailedUpdgrade = "DefaultOnFailedUpdgrade" -OnFailedUpdgrade = "OnFailedUpdgrade" diff --git a/Cargo.toml b/Cargo.toml index 3027edbf..cfbfb615 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -47,3 +47,9 @@ uninlined_format_args = "warn" unnested_or_patterns = "warn" unused_self = "warn" verbose_file_reads = "warn" + +# configuration for https://github.com/crate-ci/typos +[workspace.metadata.typos.default.extend-identifiers] +# These have been fixed in the past, but are still present in the changelog. +DefaultOnFailedUpdgrade = "DefaultOnFailedUpdgrade" +OnFailedUpdgrade = "OnFailedUpdgrade" diff --git a/_typos.toml b/_typos.toml deleted file mode 100644 index d411429d..00000000 --- a/_typos.toml +++ /dev/null @@ -1,6 +0,0 @@ -[files] -extend-exclude = ["Cargo.toml"] - -[default.extend-identifiers] -DefaultOnFailedUpdgrade = "DefaultOnFailedUpdgrade" -OnFailedUpdgrade = "OnFailedUpdgrade"