Fix pep8 checks: W292,W391
* W292 no newline at end of file * W391 blank line at end of file
This commit is contained in:
parent
0fb8a303b1
commit
02d6f12d7b
2
setup.py
2
setup.py
@ -19,4 +19,4 @@ import setuptools
|
||||
|
||||
setuptools.setup(
|
||||
setup_requires=['pbr'],
|
||||
pbr=True)
|
||||
pbr=True)
|
||||
|
4
tox.ini
4
tox.ini
@ -38,9 +38,7 @@ commands = python setup.py build_sphinx
|
||||
# H202 assertRaises Exception too broad
|
||||
# H306 imports not in alphabetical order
|
||||
# H902 Use the 'not in' operator for collection membership evaluation
|
||||
# W292 no newline at end of file
|
||||
# W391 blank line at end of file
|
||||
show-source = True
|
||||
ignore = E123,E125,E501,E721,F401,F403,F841,H201,H202,H306,H404,H803,H902,W292,W391
|
||||
ignore = E123,E125,E501,E721,F401,F403,F841,H201,H202,H306,H404,H803,H902
|
||||
builtins = _
|
||||
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|
||||
|
@ -1,13 +0,0 @@
|
||||
# Copyright (c) 2013 Mirantis, Inc.
|
||||
#
|
||||
# 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,13 +0,0 @@
|
||||
# Copyright (c) 2014 Mirantis, Inc.
|
||||
#
|
||||
# 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.
|
Loading…
x
Reference in New Issue
Block a user