← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1926315] Re: neutron-lib pep8 is failing with pylint >= 2.8.0

 

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 <ralonsoh@xxxxxxxxxx>
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

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

Title:
  neutron-lib pep8 is failing with pylint >= 2.8.0

Status in neutron:
  Fix Released

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)

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


References