[codespell] Adding Tox Target for Codespell
Second in a series of commits to add Codespell to Ironic Repos. This one adds the command that was used to fix the spelling errors. Future Commits will add CI support and potentially a git-blame-ignore-revs file if their are lots of spelling mistakes that could clutter git blame. Change-Id: Ie5b066676b9058d7f4cb00fe279711834ca06720
This commit is contained in:
parent
9bb0fcd05e
commit
380435c13a
@ -135,3 +135,9 @@ openstack.baremetal.v1 =
|
|||||||
[extras]
|
[extras]
|
||||||
cli =
|
cli =
|
||||||
python-openstackclient>=3.12.0 # Apache-2.0
|
python-openstackclient>=3.12.0 # Apache-2.0
|
||||||
|
|
||||||
|
[codespell]
|
||||||
|
quiet-level = 4
|
||||||
|
# Words to ignore:
|
||||||
|
# cna: Intel CNA card
|
||||||
|
ignore-words-list = cna
|
9
tox.ini
9
tox.ini
@ -87,3 +87,12 @@ application-import-names = ironicclient
|
|||||||
|
|
||||||
[hacking]
|
[hacking]
|
||||||
import_exceptions = testtools.matchers, ironicclient.common.i18n
|
import_exceptions = testtools.matchers, ironicclient.common.i18n
|
||||||
|
|
||||||
|
[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