From 02d6f12d7bf92a26bd84385aa13023499b76e9ab Mon Sep 17 00:00:00 2001 From: Ruslan Kamaldinov Date: Thu, 3 Jul 2014 18:33:11 +0400 Subject: [PATCH] Fix pep8 checks: W292,W391 * W292 no newline at end of file * W391 blank line at end of file --- setup.py | 2 +- tox.ini | 4 +--- yaql/cli/__init__.py | 13 ------------- yaql/language/__init__.py | 13 ------------- 4 files changed, 2 insertions(+), 30 deletions(-) diff --git a/setup.py b/setup.py index 7eeb36b..70c2b3f 100644 --- a/setup.py +++ b/setup.py @@ -19,4 +19,4 @@ import setuptools setuptools.setup( setup_requires=['pbr'], - pbr=True) \ No newline at end of file + pbr=True) diff --git a/tox.ini b/tox.ini index 4ff077b..ced3b37 100644 --- a/tox.ini +++ b/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 diff --git a/yaql/cli/__init__.py b/yaql/cli/__init__.py index 207fa15..e69de29 100644 --- a/yaql/cli/__init__.py +++ b/yaql/cli/__init__.py @@ -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. \ No newline at end of file diff --git a/yaql/language/__init__.py b/yaql/language/__init__.py index fa47701..e69de29 100644 --- a/yaql/language/__init__.py +++ b/yaql/language/__init__.py @@ -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.