summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorMichael Johnson <johnsomor@gmail.com>2021-11-30 00:48:18 +0000
committerErik Olof Gunnar Andersson <eandersson@blizzard.com>2021-11-29 21:54:22 -0800
commit15a0070d96313b49bfdf41fab52a9bb252bfa0b4 (patch)
tree095716d0d0b4de51c5ee4a0fb2ce2df9c5dd99de /tox.ini
parent01d1e7db5b746fa771db964ac724f6b5d1ff7990 (diff)
downloadpython-designateclient-15a0070d96313b49bfdf41fab52a9bb252bfa0b4.tar.gz
Add Designate hacking checks to the client
This patch adds the Designate hacking checks to also run against the Designate client code to maintain consistent style checking across the Designate repositories. It also resolves one style check failure. Change-Id: I09786482b2e7fecaa3d4484c9b1a017fae04cfea
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini13
1 files changed, 13 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 8bdf84c..0c687b0 100644
--- a/tox.ini
+++ b/tox.ini
@@ -97,6 +97,19 @@ ignore = H105,H302,H404,H405,W504,H904
builtins = _
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools
+[flake8:local-plugins]
+extension =
+ D701 = checks:mutable_default_arguments
+ D703 = checks:check_explicit_underscore_import
+ D704 = checks:no_import_graduated_oslo_libraries
+ D705 = checks:use_timeutils_utcnow
+ D706 = checks:no_translate_debug_logs
+ D707 = checks:check_no_basestring
+ D708 = checks:check_python3_xrange
+ D709 = checks:check_no_log_audit
+ D710 = checks:check_no_log_warn
+paths = ./designateclient/hacking
+
[testenv:lower-constraints]
skip_install = True
commands =