Merge "[codespell] Adding Tox Target for Codespell"
This commit is contained in:
commit
800c6040fb
@ -23,3 +23,8 @@ packages =
|
|||||||
# TODO(dtantsur): figure out a sane way to distribute tinyipa scripts
|
# TODO(dtantsur): figure out a sane way to distribute tinyipa scripts
|
||||||
data_files =
|
data_files =
|
||||||
share/ironic-python-agent-builder/dib = dib/*
|
share/ironic-python-agent-builder/dib = dib/*
|
||||||
|
|
||||||
|
[codespell]
|
||||||
|
quiet-level = 4
|
||||||
|
# Words to ignore:
|
||||||
|
# ignore-words-list = example
|
10
tox.ini
10
tox.ini
@ -52,3 +52,13 @@ application-import-names = ironic_python_agent_builder
|
|||||||
# [H210] Require 'autospec', 'spec', or 'spec_set' in mock.patch/mock.patch.object calls
|
# [H210] Require 'autospec', 'spec', or 'spec_set' in mock.patch/mock.patch.object calls
|
||||||
# [H904] Delay string interpolations at logging calls.
|
# [H904] Delay string interpolations at logging calls.
|
||||||
enable-extensions=H106,H203,H204,H205,H210,H904
|
enable-extensions=H106,H203,H204,H205,H210,H904
|
||||||
|
|
||||||
|
|
||||||
|
[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