Skip to content

Commit f392216

Browse files
Fix lint error
The linter throws an error while parsing the calico yaml: ./upgrade-scripts/000-switch-to-calico/resources/calico.yaml:5618: NotIn ==> noting, not in, notion We'll define an exception for the "NotIn" word.
1 parent b93967b commit f392216

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ deps =
2020
[testenv:lint]
2121
commands =
2222
flake8 --max-line-length=120 --ignore=C901,N801,N802,N803,N806,N816,W503,E203
23-
codespell --ignore-words-list="aks,ccompiler" --quiet-level=2 --skip="*.patch,*.spec,.tox_env,.git,*.nsi"
23+
codespell --ignore-words-list="aks,ccompiler,NotIn" --quiet-level=2 --skip="*.patch,*.spec,.tox_env,.git,*.nsi"
2424
black --diff --check --exclude "/(\.eggs|\.git|\.tox|\.venv|\.build|dist|charmhelpers|mod)/" .
2525

2626
[testenv:scripts]

0 commit comments

Comments
 (0)