[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: Ie92e24f7181f37a7b9a6a960a2c5d6ec0eb08773
This commit is contained in:
parent
ddde31af73
commit
7cfe9fe177
@ -25,3 +25,8 @@ classifier =
|
||||
[files]
|
||||
packages =
|
||||
tenks
|
||||
|
||||
[codespell]
|
||||
quiet-level = 4
|
||||
# Words to ignore:
|
||||
; ignore-words-list = example
|
||||
|
9
tox.ini
9
tox.ini
@ -95,3 +95,12 @@ exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
|
||||
import-order-style = pep8
|
||||
application-import-names = tenks
|
||||
filename = *.py
|
||||
|
||||
[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