Merge "[codespell] Adding Tox Target for Codespell"
This commit is contained in:
commit
7e04d5ba2d
@ -46,3 +46,8 @@ openstack.baremetal_introspection.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:
|
||||||
|
ignore-words-list = example
|
9
tox.ini
9
tox.ini
@ -121,3 +121,12 @@ import_exceptions = ironic_inspector_client.common.i18n
|
|||||||
# separately, outside of the requirements files.
|
# separately, outside of the requirements files.
|
||||||
deps = bindep
|
deps = bindep
|
||||||
commands = bindep test
|
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