Merge "[codespell] Adding Tox Target for Codespell"

This commit is contained in:
Zuul 2024-02-28 12:20:09 +00:00 committed by Gerrit Code Review
commit f457a88e34
2 changed files with 15 additions and 0 deletions

View File

@ -135,3 +135,9 @@ openstack.baremetal.v1 =
[extras]
cli =
python-openstackclient>=3.12.0 # Apache-2.0
[codespell]
quiet-level = 4
# Words to ignore:
# cna: Intel CNA card
ignore-words-list = cna

View File

@ -87,3 +87,12 @@ application-import-names = ironicclient
[hacking]
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}