Skip to content

Commit

Permalink
Reflect existing codespell config into the gh workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Apolinario <[email protected]>
  • Loading branch information
eapolinario committed Jul 31, 2024
1 parent 8175376 commit 0ce15b3
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 510 deletions.
15 changes: 5 additions & 10 deletions .github/codespell-ignored-words
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
ThirdParty
bootup
crate
fo
lightyear
nd
notin
querys
ser
ot
te
updAt
raison
fo
lits

2 changes: 1 addition & 1 deletion .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
- name: Codespell
uses: codespell-project/actions-codespell@v2
with:
skip: "*.pb,monodocs-environment.lock.yaml,.git,*.pdf,*.svg,go.sum,go.mod,*requirements.txt,gen"
skip: "./docs/build,./.git,*.txt"
ignore_words_file: .github/codespell-ignored-words
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ lint: ## Run linters

.PHONY: spellcheck
spellcheck: ## Runs a spellchecker over all code and documentation
# Configuration is in pyproject.toml
codespell
# This pressuposes that you have act installed
act pull_request -W .github/workflows/codespell.yml

.PHONY: test
test: lint unit_test
Expand Down
Loading

0 comments on commit 0ce15b3

Please sign in to comment.