neutron-lib pep8 is failing with pylint >= 2.8.0

Bug #1926315 reported by Rodolfo Alonso
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Critical
Rodolfo Alonso

Bug Description

Error:

You can speed this up by running it on 'HEAD~[0-9]' (e.g. HEAD~1, this change only)...
************* Module neutron_lib.fixture
neutron_lib/fixture.py:386:16: R1732: Consider using 'with' for resource-allocating operations (consider-using-with)

Changed in neutron:
importance: Undecided → Critical
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron-lib (master)
Changed in neutron:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron-lib (master)

Reviewed: https://review.opendev.org/c/openstack/neutron-lib/+/788323
Committed: https://opendev.org/openstack/neutron-lib/commit/ba36d60717b85d715e08556ffca23446431402eb
Submitter: "Zuul (22348)"
Branch: master

commit ba36d60717b85d715e08556ffca23446431402eb
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Tue Apr 27 16:11:59 2021 +0000

    Fix pylint>=2.8.0 error R1732 "consider-using-with"

    Closes-Bug: #1926315

    Change-Id: If6c8b72c85564dcf77faa255d8756829c9ba879f

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron-lib 2.12.0

This issue was fixed in the openstack/neutron-lib 2.12.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.