summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorDavid Sariel <dsariel@redhat.com>2016-02-14 14:55:46 +0200
committerDavid Sariel <dsariel@redhat.com>2016-02-14 14:56:55 +0200
commit4a61faa065dc445bb32cff1a464d2e22e84e5427 (patch)
treeb74f1db8685de3fbb77b23f7e19b0625d28827e2 /tox.ini
parentf16ff3ee7e84a192cb18caed94db70b08cf030a3 (diff)
Removed ignored checks from tox.ini and fixed pep8 issues
Due to the hacking version update several pep8 checks where ignored in the flakes8 section of the tox.ini. Removed ignored checks and fixed appropriate pep8 issues. The list of fixed issues: - H105 Don't use author tags - H238 Old style class declaration, use new style (inherit from `object`) - H501 Do not use self.__dict__ for string formatting Closes-Bug: 1530719 Change-Id: I890ba4c54b0da10060767620ff5ff7e480d79a9c
Notes
Notes (review): Code-Review+2: Valeriy Ponomaryov <vponomaryov@mirantis.com> Code-Review+2: Clinton Knight <cknight@netapp.com> Workflow+1: Clinton Knight <cknight@netapp.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Mon, 15 Feb 2016 01:21:16 +0000 Reviewed-on: https://review.openstack.org/262781 Project: openstack/manila Branch: refs/heads/master
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini5
1 files changed, 1 insertions, 4 deletions
diff --git a/tox.ini b/tox.ini
index ce8c27f..69786c8 100644
--- a/tox.ini
+++ b/tox.ini
@@ -68,10 +68,7 @@ commands = python tools/lintstack.py check
68 68
69[flake8] 69[flake8]
70# Following checks are ignored on purpose: 70# Following checks are ignored on purpose:
71# H105 using author tags 71ignore =
72# H238 hacking no old style class
73# H501 hacking no locals
74ignore = H105,H238,H501
75builtins = _ 72builtins = _
76exclude = .venv,.tox,dist,doc,*egg 73exclude = .venv,.tox,dist,doc,*egg
77 74