codespell: exclude by words instead of files

This commit is contained in:
Mario Trangoni 2018-04-17 20:45:46 +02:00
parent 1594ceeb6f
commit b0217f5dd3

View File

@ -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: