From cbe680d7d2fbb1dd88bb61e1a169d42708d62b60 Mon Sep 17 00:00:00 2001 From: Joel Natividad <1980690+jqnatividad@users.noreply.github.com> Date: Wed, 5 Feb 2025 08:00:45 -0500 Subject: [PATCH 1/2] typos configuration file specifying typo false positives in the codebase --- _typos.toml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 _typos.toml diff --git a/_typos.toml b/_typos.toml new file mode 100644 index 00000000..8692cfc1 --- /dev/null +++ b/_typos.toml @@ -0,0 +1,6 @@ +[default] +extend-ignore-identifiers-re = ["catched", "2nd", "ser"] + +[default.extend-words] +thr = "thr" +aas = "aas" From 03b24e24332e737de93ef2a08af5132f580051ee Mon Sep 17 00:00:00 2001 From: Joel Natividad <1980690+jqnatividad@users.noreply.github.com> Date: Wed, 5 Feb 2025 08:01:00 -0500 Subject: [PATCH 2/2] typos CI --- .github/workflows/typos.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/typos.yml diff --git a/.github/workflows/typos.yml b/.github/workflows/typos.yml new file mode 100644 index 00000000..1056ec10 --- /dev/null +++ b/.github/workflows/typos.yml @@ -0,0 +1,17 @@ +name: Typos Check +on: + pull_request: + workflow_dispatch: + +jobs: + run: + name: Spell Check with Typos + runs-on: ubuntu-latest + steps: + - name: Checkout Actions Repository + uses: actions/checkout@v4 + + - name: Check spelling + uses: crate-ci/typos@master + with: + config: ./_typos.toml