Browse Source

Add codespell target

Jelmer Vernooij 1 year ago
parent
commit
e3333e0301
3 changed files with 7 additions and 2 deletions
  1. 1 1
      .codespellrc
  2. 1 1
      .github/workflows/pythontest.yml
  3. 5 0
      Makefile

+ 1 - 1
.codespellrc

@@ -1,3 +1,3 @@
 [codespell]
 skip = .git,.mypy_cache,build,testdata
-ignore-words-list = fpr,claus,feld,nd,bu,ue,te,fo,afile,Manuel
+ignore-words-list = fpr,claus,feld,nd,bu,ue,te,fo,afile,manuel

+ 1 - 1
.github/workflows/pythontest.yml

@@ -50,7 +50,7 @@ jobs:
       - name: codespell
         run: |
           pip install --upgrade codespell
-          codespell .
+          codespell --config .codespellrc .
       - name: Coverage test suite run
         run: |
           pip install --upgrade coverage

+ 5 - 0
Makefile

@@ -78,3 +78,8 @@ apidocs:
 
 fix:
 	ruff check --fix .
+
+.PHONY: codespell
+
+codespell:
+	codespell --config .codespellrc .