Use hacking instead of flake8/pep8

Change-Id: I77afe69bb9b90aa85e3e8e688c9fa6835e4166af
This commit is contained in:
Christian Berendt 2014-07-24 11:47:14 +02:00
parent 5dfd9374e9
commit acd945035e
3 changed files with 9 additions and 17 deletions

View File

@ -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.

View File

@ -1,5 +1,4 @@
flake8
hacking>=0.9.2,<0.10
pyflakes
pep8
nose
mock>=1.0.1

View File

@ -21,5 +21,12 @@ downloadcache = ~/cache/pip
[flake8]
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