codespell: exclude by words instead of files

pull/11632/head
Mario Trangoni 7 years ago
parent 1594ceeb6f
commit b0217f5dd3
  1. 6
      .circleci/config.yml

@ -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…
Cancel
Save