Bug 1252532 - Fix pep8 errors regarding code styling
Fix pep8 errors regarding code styling
Status: CLOSED NOTABUG
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-neutron (Show other bugs)
5.0 (RHEL 7)
All All
unspecified Severity low
: ---
: ---
Assigned To: lpeer
Ofer Blaut
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-08-11 11:58 EDT by Arie Bregman
Modified: 2016-04-26 12:12 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-08-11 12:07:35 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Arie Bregman 2015-08-11 11:58:03 EDT
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.