Use hacking instead of flake8/pep8
Change-Id: I77afe69bb9b90aa85e3e8e688c9fa6835e4166af
This commit is contained in:
parent
5dfd9374e9
commit
acd945035e
|
@ -1,14 +0,0 @@
|
||||||
# Copyright (c) 2014 Hewlett-Packard Development Company, L.P.
|
|
||||||
#
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
||||||
# implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
|
@ -1,5 +1,4 @@
|
||||||
flake8
|
hacking>=0.9.2,<0.10
|
||||||
pyflakes
|
pyflakes
|
||||||
pep8
|
|
||||||
nose
|
nose
|
||||||
mock>=1.0.1
|
mock>=1.0.1
|
||||||
|
|
9
tox.ini
9
tox.ini
|
@ -21,5 +21,12 @@ downloadcache = ~/cache/pip
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
max-line-length = 120
|
max-line-length = 120
|
||||||
ignore = F821
|
# TODO: ignored checks should be enabled in the future
|
||||||
|
# H201 no 'except:' at least use 'except Exception:'
|
||||||
|
# H302 import only modules
|
||||||
|
# H305 imports not grouped correctly
|
||||||
|
# H307 like imports should be grouped together
|
||||||
|
# H405 multi line docstring summary not separated with an empty line
|
||||||
|
# H904 Wrap long lines in parentheses instead of a backslash
|
||||||
|
ignore = F821,H201,H302,H305,H307,H405,H904
|
||||||
exclude=.venv,.git,.tox,dist,*openstack/common*,*egg,build
|
exclude=.venv,.git,.tox,dist,*openstack/common*,*egg,build
|
||||||
|
|
Loading…
Reference in New Issue