From b9032ddcace0dfe91b8331dc901f4734e40b2f20 Mon Sep 17 00:00:00 2001 From: Kay Robbins <1189050+VisLab@users.noreply.github.com> Date: Mon, 12 Aug 2024 10:17:30 -0500 Subject: [PATCH] Added codespell to the repository --- .codespellrc | 3 +++ .github/workflows/codespell.yaml | 22 ++++++++++++++++++++++ .gitignore | 1 + 3 files changed, 26 insertions(+) create mode 100644 .codespellrc create mode 100644 .github/workflows/codespell.yaml 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/