[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: Id89f63b1ad08abdea875a579657e4e63e1cbcf88
This commit is contained in:
parent
be40bbba3e
commit
383669b51b
@ -25,3 +25,7 @@ classifier =
|
|||||||
[files]
|
[files]
|
||||||
packages =
|
packages =
|
||||||
ironic_ui
|
ironic_ui
|
||||||
|
|
||||||
|
[codespell]
|
||||||
|
quiet-level = 4
|
||||||
|
skip = *.po,*.pot
|
8
tox.ini
8
tox.ini
@ -102,3 +102,11 @@ commands =
|
|||||||
-k npgettext:1c,2,3 -k pgettext_lazy:1c,2 -k npgettext_lazy:1c,2,3 \
|
-k npgettext:1c,2,3 -k pgettext_lazy:1c,2 -k npgettext_lazy:1c,2,3 \
|
||||||
--add-comments Translators: ironic_ui
|
--add-comments Translators: ironic_ui
|
||||||
|
|
||||||
|
[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…
x
Reference in New Issue
Block a user