← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1305377] [NEW] Correct flake8 E711 and E712 violations

 

Public bug reported:

Enable flake8 checking for
E711 comparison to False should be 'if cond is False:' or 'if not cond:'
E712 comparison to True should be 'if cond is True:' or 'if cond:'

** Affects: neutron
     Importance: Undecided
     Assignee: Henry Gessau (gessau)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Henry Gessau (gessau)

** Summary changed:

- Correct pep8 E711 and E712 violations
+ Correct flake8 E711 and E712 violations

** Description changed:

- Enable PEP8 checking for
+ Enable flake8 checking for
  E711/E712 comparison to False should be 'if cond is False:' or 'if not cond:'

** Description changed:

  Enable flake8 checking for
- E711/E712 comparison to False should be 'if cond is False:' or 'if not cond:'
+ E711 comparison to False should be 'if cond is False:' or 'if not cond:'
+ E712 comparison to True should be 'if cond is True:' or 'if cond:'

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1305377

Title:
  Correct flake8 E711 and E712 violations

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  Enable flake8 checking for
  E711 comparison to False should be 'if cond is False:' or 'if not cond:'
  E712 comparison to True should be 'if cond is True:' or 'if cond:'

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1305377/+subscriptions


Follow ups

References