diff --git a/.codespellrc b/.codespellrc new file mode 100644 index 00000000..2b9e82ac --- /dev/null +++ b/.codespellrc @@ -0,0 +1,3 @@ +[codespell] +skip = datasets,.git,*.pdf,*.svg,deprecated,*.xml,*.mediawiki,*.omn,datasets +ignore-words-list = covert,hed,recuse diff --git a/.github/workflows/codespell.yaml b/.github/workflows/codespell.yaml new file mode 100644 index 00000000..e7c2995c --- /dev/null +++ b/.github/workflows/codespell.yaml @@ -0,0 +1,22 @@ +--- +name: Codespell + +on: + push: + branches: '*' + pull_request: + branches: '*' + +permissions: + contents: read + +jobs: + codespell: + name: Check for spelling errors + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Codespell + uses: codespell-project/actions-codespell@v2 diff --git a/.gitignore b/.gitignore index 9995fa14..f85ba989 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ node_modules .idea dist/ /venv/ +spec_tests/ # Unit test / coverage reports htmlcov/