Merge "[codespell] Adding Tox Target for Codespell"
This commit is contained in:
commit
945c76de1d
@ -89,3 +89,9 @@ oslo.policy.enforcer =
|
||||
ironic_inspector = ironic_inspector.policy:get_oslo_policy_enforcer
|
||||
oslo.policy.policies =
|
||||
ironic_inspector.api = ironic_inspector.policy:list_policies
|
||||
|
||||
[codespell]
|
||||
quiet-level = 4
|
||||
# Words to ignore:
|
||||
# cna: Intel CNA card
|
||||
ignore-words-list = cna
|
8
tox.ini
8
tox.ini
@ -127,3 +127,11 @@ commands = bandit -r ironic_inspector -x test -n 5 -ll -c tools/bandit.yml
|
||||
deps = bindep
|
||||
commands = bindep test
|
||||
|
||||
[testenv:codespell]
|
||||
description =
|
||||
Run codespell to check spelling
|
||||
deps = codespell
|
||||
# note(JayF): {posargs} lets us run `tox -ecodespell -- -w` to get codespell
|
||||
# to correct spelling issues in our code it's aware of.
|
||||
commands =
|
||||
codespell {posargs}
|
Loading…
Reference in New Issue
Block a user