Skip to content

Commit

Permalink
Merge pull request #166 from IanCa/develop
Browse files Browse the repository at this point in the history
Add codespell
  • Loading branch information
VisLab committed Apr 22, 2024
2 parents 17e2f85 + 03f6dc1 commit 7f2baac
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 7 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/codespell.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Codespell

on:
push:
branches: [develop]
pull_request:
branches: [develop]

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
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[build-system]
requires = ["setuptools>=42", "versioneer-518"]
requires = ["setuptools>=42", "versioneer[toml]"]
build-backend = "setuptools.build_meta"

[tool.codespell]
skip = '*.git,*.pdf,*.xml,*.mediawiki,*.svg,versioneer.py,venv*,*.tsv,*.yaml,*.yml,*.json,*.rdf,*.jsonld,spec_tests'
skip = '*.git,*.pdf,*.xml,*.mediawiki,*.svg,versioneer.py,venv*,*.tsv,*.yaml,*.yml,*.json,*.rdf,*.jsonld,spec_tests,*.css,*.css.map'
ignore-words-list = 'te,parms,cACE'
5 changes: 0 additions & 5 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,3 @@ versionfile_source = hedweb/_version.py
versionfile_build = hedweb/_version.py
tag_prefix =
parentdir_prefix = hedweb-


[tool.codespell]
skip = '*.git,*.pdf,*.xml,*.mediawiki,*.svg,versioneer.py,venv*,*.tsv,*.yaml,*.yml,*.json,*.rdf,*.jsonld,spec_tests'
ignore-words-list = 'te,parms,cACE'

0 comments on commit 7f2baac

Please sign in to comment.