From 8bb2826f7a396cdc49542bf3bb868a9c61848ed2 Mon Sep 17 00:00:00 2001 From: georg Date: Mon, 22 Jul 2019 13:31:40 -0700 Subject: CI: Add job to run codespell, a spell checking software --- .gitlab-ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 06ab608..4d1f844 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,6 +13,15 @@ linting:bandit: - bandit -r ./nautilus/ --format txt --skip B101 - bandit -r ./libmat2 --format txt --skip B101,B404,B603,B405,B314 +linting:codespell: + image: $CONTAINER_REGISTRY:linting + stage: linting + script: + # Run codespell to check for spelling errors; ignore errors about binary + # files, use a config with ignored words and exclude the git directory, + # which might contain false positives + - codespell -q 2 -I utils/ci/codespell/ignored_words.txt -S .git + linting:pylint: image: $CONTAINER_REGISTRY:linting stage: linting -- cgit v1.3