mirror of
https://github.com/grafana/grafana.git
synced 2024-12-30 10:47:30 -06:00
codespell: exclude by words instead of files
This commit is contained in:
parent
1594ceeb6f
commit
b0217f5dd3
@ -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