Merge "Add tox target and configuration for codespell"
This commit is contained in:
commit
a22d1fc411
@ -71,3 +71,9 @@ tag_svn_revision = 0
|
|||||||
[extras]
|
[extras]
|
||||||
burnin-network-kazoo =
|
burnin-network-kazoo =
|
||||||
kazoo>=2.8.0 # Apache-2.0
|
kazoo>=2.8.0 # Apache-2.0
|
||||||
|
|
||||||
|
[codespell]
|
||||||
|
quiet-level = 4
|
||||||
|
# Words to ignore:
|
||||||
|
# cna: Intel CNA card
|
||||||
|
ignore-words-list = cna
|
||||||
|
9
tox.ini
9
tox.ini
@ -24,6 +24,15 @@ passenv =
|
|||||||
no_proxy
|
no_proxy
|
||||||
NO_PROXY
|
NO_PROXY
|
||||||
|
|
||||||
|
[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}
|
||||||
|
|
||||||
[testenv:functional]
|
[testenv:functional]
|
||||||
# Define virtualenv directory, port to use for functional testing, and number
|
# Define virtualenv directory, port to use for functional testing, and number
|
||||||
# of seconds to wait for the agent to come alive during functional testing.
|
# of seconds to wait for the agent to come alive during functional testing.
|
||||||
|
Loading…
Reference in New Issue
Block a user