← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1540254] Re: "#flake8: noqa" is using incorrectly

 

Reviewed:  https://review.openstack.org/277924
Committed: https://git.openstack.org/cgit/openstack/designate/commit/?id=3873383df0347cbf27864733728462f74c7c46f0
Submitter: Jenkins
Branch:    master

commit 3873383df0347cbf27864733728462f74c7c46f0
Author: Chaozhe.Chen <chaozhe.chen@xxxxxxxxxxxx>
Date:   Wed Feb 10 00:10:03 2016 +0800

    Use "# noqa" instead of "#flake8: noqa"
    
    "# flake8: noqa" option disables all checks for the whole file.
    To disable one line we should use "# noqa".
    
    This patch use "# noqa" instead of "#flake8: noqa" and fix some
    flake8 viilations.
    
    Change-Id: Ic9f7c82428728582cecf0fa40f288e9f20f5d5ca
    Closes-bug: #1540254


** Changed in: designate
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1540254

Title:
  "#flake8: noqa" is using incorrectly

Status in Designate:
  Fix Released
Status in OpenStack Dashboard (Horizon):
  Fix Released
Status in python-heatclient:
  Fix Released
Status in python-novaclient:
  Fix Released

Bug description:
  "# flake8: noqa" option disables all checks for the whole file. To
  disable one line we should use "# noqa".

  Refer to: https://pypi.python.org/pypi/flake8
  https://github.com/openstack/python-keystoneclient/commit/3b766c51438396a0ab0032de309c9d56e275e0cb

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


References