Merge "[codespell] Adding Tox Target for Codespell"
This commit is contained in:
commit
1863a3208a
@ -29,3 +29,8 @@ packages =
|
|||||||
[entry_points]
|
[entry_points]
|
||||||
sushy.resources.system.oems =
|
sushy.resources.system.oems =
|
||||||
contoso = sushy.resources.oem.fake:get_extension
|
contoso = sushy.resources.oem.fake:get_extension
|
||||||
|
|
||||||
|
[codespell]
|
||||||
|
quiet-level = 4
|
||||||
|
# Words to ignore:
|
||||||
|
# ignore-words-list = example
|
9
tox.ini
9
tox.ini
@ -89,3 +89,12 @@ exclude=.*,dist,doc,*lib/python*,*egg,build
|
|||||||
import-order-style = pep8
|
import-order-style = pep8
|
||||||
application-import-names = sushy
|
application-import-names = sushy
|
||||||
filename = *.py
|
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…
x
Reference in New Issue
Block a user