From b0217f5dd3f7fa74590793bf1f38fc79bc533a0d Mon Sep 17 00:00:00 2001 From: Mario Trangoni Date: Tue, 17 Apr 2018 20:45:46 +0200 Subject: [PATCH] codespell: exclude by words instead of files --- .circleci/config.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index fc04e69af6e..2399d0c19bf 100644 --- a/.circleci/config.yml +++ b/.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: