From 07e6073f7b9c8649ca0b41e50afcfa017cfdf821 Mon Sep 17 00:00:00 2001 From: Drew Thorstensen Date: Fri, 22 Jan 2016 08:37:46 -0500 Subject: [PATCH] Update tox.ini flake8 rules This change set brings our flake8 ignore rules in line with the core nova team. nova-powervm should always be a minimal subset of flake8 ignore rules to the broader nova project. This change set removes some old ignore rules that nova had, that they have removed in the past couple of months. Change-Id: I82cdcbc79dac7254f768e110d48c66d63274fc93 --- nova_powervm/tests/__init__.py | 15 --------------- nova_powervm/tests/virt/__init__.py | 15 --------------- tox.ini | 2 +- 3 files changed, 1 insertion(+), 31 deletions(-) diff --git a/nova_powervm/tests/__init__.py b/nova_powervm/tests/__init__.py index 2174afb3..e69de29b 100644 --- a/nova_powervm/tests/__init__.py +++ b/nova_powervm/tests/__init__.py @@ -1,15 +0,0 @@ -# Copyright 2014 IBM Corp. -# -# All Rights Reserved. -# -# 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. diff --git a/nova_powervm/tests/virt/__init__.py b/nova_powervm/tests/virt/__init__.py index 2174afb3..e69de29b 100644 --- a/nova_powervm/tests/virt/__init__.py +++ b/nova_powervm/tests/virt/__init__.py @@ -1,15 +0,0 @@ -# Copyright 2014 IBM Corp. -# -# All Rights Reserved. -# -# 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. diff --git a/tox.ini b/tox.ini index 0e2aff58..6a9189e9 100644 --- a/tox.ini +++ b/tox.ini @@ -32,5 +32,5 @@ commands = whitelist_externals = bash [flake8] -ignore = E125,E712,H104,H405,H904 +ignore = E125,H405 exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools