diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml new file mode 100644 index 0000000..22fdec2 --- /dev/null +++ b/.github/workflows/codespell.yml @@ -0,0 +1,23 @@ +# Codespell configuration is within pyproject.toml +--- +name: Codespell + +on: + push: + branches: [main] + pull_request: + branches: [main] + +permissions: + contents: read + +jobs: + codespell: + name: Check for spelling errors + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v6 + - name: Codespell + uses: codespell-project/actions-codespell@8f01853be192eb0f849a5c7d721450e7a467c579 # v2.2 diff --git a/CHANGELOG.md b/CHANGELOG.md index 5790ba6..de3dcba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -101,7 +101,7 @@ CHANGELOG ## 0.1.2 (2024-03-20) -- Fix minimum required Pyhton version (3.11) +- Fix minimum required Python version (3.11) ## 0.1.0 (2024-03-18) diff --git a/pyproject.toml b/pyproject.toml index 4195e98..11f4837 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,3 +51,10 @@ test = "python -m unittest -v" [[tool.hatch.envs.test.matrix]] python = ["3.9", "3.10", "3.11", "3.12", "3.13"] + +[tool.codespell] +# Ref: https://github.com/codespell-project/codespell#using-a-config-file +skip = '.git,.gitignore,.gitattributes' +check-hidden = true +# ignore-regex = '' +# ignore-words-list = ''