Bug 1252532 - Fix pep8 errors regarding code styling
Summary: Fix pep8 errors regarding code styling
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-neutron
Version: 5.0 (RHEL 7)
Hardware: All
OS: All
unspecified
low
Target Milestone: ---
: ---
Assignee: lpeer
QA Contact: Ofer Blaut
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-11 15:58 UTC by Arie Bregman
Modified: 2023-02-22 23:02 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-11 16:07:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Arie Bregman 2015-08-11 15:58:03 UTC
Description of problem: there are styling errors (pep8)

How reproducible: Always


Steps to Reproduce:
1.tox -e pep8


Actual results:
./neutron/version.py:17:1: E302 expected 2 blank lines, found 1
class VersionInfo(object):
^
./neutron/agent/l3_agent.py:36:1: F401 '_LW' imported but unused
from neutron.openstack.common.gettextutils import _LW
^
./neutron/agent/l3_agent.py:206:32: E121 continuation line indentation is not a multiple of four
                               config = self.conf,
                               ^
./neutron/agent/l3_agent.py:206:38: E251 unexpected spaces around keyword / parameter equals
                               config = self.conf,
                                     ^
./neutron/agent/l3_agent.py:206:40: E251 unexpected spaces around keyword / parameter equals
                               config = self.conf,
                                       ^
./neutron/agent/l3_agent.py:207:32: E121 continuation line indentation is not a multiple of four
                               root_helper = self.root_helper,
                               ^
./neutron/agent/l3_agent.py:207:43: E251 unexpected spaces around keyword / parameter equals
                               root_helper = self.root_helper,
                                          ^
./neutron/agent/l3_agent.py:207:45: E251 unexpected spaces around keyword / parameter equals
                               root_helper = self.root_helper,
                                            ^
./neutron/agent/l3_agent.py:208:32: E121 continuation line indentation is not a multiple of four
                               resource_type = 'router',
                               ^
./neutron/agent/l3_agent.py:208:45: E251 unexpected spaces around keyword / parameter equals
                               resource_type = 'router',
                                            ^
./neutron/agent/l3_agent.py:208:47: E251 unexpected spaces around keyword / parameter equals
                               resource_type = 'router',
                                              ^
./neutron/agent/l3_agent.py:209:32: E121 continuation line indentation is not a multiple of four
                               exit_handler = self._exit_handler)
                               ^
./neutron/agent/l3_agent.py:209:44: E251 unexpected spaces around keyword / parameter equals
                               exit_handler = self._exit_handler)
                                           ^
./neutron/agent/l3_agent.py:209:46: E251 unexpected spaces around keyword / parameter equals
                               exit_handler = self._exit_handler)
                                             ^
./neutron/agent/linux/external_process.py:206:1: H402  one line docstring needs punctuation.
        """Returns a process manager for manipulation"""


Expected results:
  pep8: commands succeeded
  congratulations :)


Note You need to log in before you can comment on or make changes to this bug.