mirror of
https://github.com/grafana/grafana.git
synced 2025-02-10 15:45:43 -06:00
Merge pull request #11632 from mjtrangoni/fix-codespell-circleci
codespell: exclude by words instead of files
This commit is contained in:
commit
6ba830c73b
@ -9,9 +9,13 @@ jobs:
|
||||
- run:
|
||||
name: install codespell
|
||||
command: 'sudo pip install codespell'
|
||||
- run:
|
||||
# Important: all words have to be in lowercase, and separated by "\n".
|
||||
name: exclude known exceptions
|
||||
command: 'echo -e "unknwon" > words_to_ignore.txt'
|
||||
- run:
|
||||
name: check documentation spelling errors
|
||||
command: 'codespell -x docs/sources/project/building_from_source.md docs/'
|
||||
command: 'codespell -I ./words_to_ignore.txt docs/'
|
||||
|
||||
test-frontend:
|
||||
docker:
|
||||
|
Loading…
Reference in New Issue
Block a user