diff --git a/.codespell-ignores.txt b/.codespell-ignores.txt new file mode 100644 index 0000000000..a0787be16d --- /dev/null +++ b/.codespell-ignores.txt @@ -0,0 +1,4 @@ +aks +cas +upto +tim diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000..00c30e0c58 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,7 @@ +--- +language: python +python: + - "3.6" + +install: pip install codespell +script: make spell diff --git a/Makefile b/Makefile index 5945ef64e9..179c03184c 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # Makefile for building Containers for Storage Testing -# -# +# +# # Reference Guide - https://www.gnu.org/software/make/manual/make.html @@ -42,12 +42,16 @@ _push_operator_image: build: deps _build_operator_image _push_operator_image +spell: + codespell \ + --ignore-words="./.codespell-ignores.txt" \ + --skip="./.git,*.png,*.jpg,*.ico,*.pdf,get-pip.py,dynamo" # # This is done to avoid conflict with a file of same name as the targets # mentioned in this makefile. # -.PHONY: help deps build +.PHONY: help deps build spell .DEFAULT_GOAL := build