From 270ca1ee8ab79ab90f002a344821c75635a7a317 Mon Sep 17 00:00:00 2001 From: Alexandru Fikl Date: Tue, 3 Mar 2026 13:11:50 +0200 Subject: [PATCH 1/2] Add simple Github Actions CI to run typos --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..34aa9c1 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,25 @@ +name: CI + +on: + push: + branches: + - main + pull_request: + branches: + - main + schedule: + # runs on Sunday at 12:00 PM UTC + - cron: 0 12 * * 0 + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +jobs: + typos: + name: Spelling (typos) + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - uses: crate-ci/typos@master + From 8b81c597eeb03bbd5015178f96a7b9c4afc0af65 Mon Sep 17 00:00:00 2001 From: Alexandru Fikl Date: Tue, 3 Mar 2026 13:13:06 +0200 Subject: [PATCH 2/2] Ignore a new false positive typo --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index fedb1d9..dd2bca1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,3 +34,6 @@ fypp = "fypp:run_fypp" [tool.hatch.build] packages = ["src/fypp.py"] + +[tool.typos.default.extend-words] +BA = "BA"