← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2004538] [NEW] [neutron-lib] Gate pep8 errors

 

Public bug reported:

Gate pep8 job is throwing the following errors:
https://paste.opendev.org/show/byPGPhoYev8GTRQTMW0O/

** Affects: neutron
     Importance: Undecided
         Status: New

** Description changed:

  Gate pep8 job is throwing the following errors:
- 2023-02-01 13:06:33.381469 | ubuntu-jammy | ************* Module neutron_lib.api.attributes
- 2023-02-01 13:06:33.381535 | ubuntu-jammy | neutron_lib/api/attributes.py:235:31: R1735: Consider using '{"attr": attr, "reason": res}' instead of a call to 'dict'. (use-dict-literal)
- 2023-02-01 13:06:33.381565 | ubuntu-jammy | ************* Module neutron_lib.db.standard_attr
- 2023-02-01 13:06:33.381587 | ubuntu-jammy | neutron_lib/db/standard_attr.py:217:27: R1735: Consider using '{"sub": subclass, "other": rs_map[resource], "res": resource}' instead of a call to 'dict'. (use-dict-literal)
- 2023-02-01 13:06:33.381609 | ubuntu-jammy | neutron_lib/db/standard_attr.py:245:27: R1735: Consider using '{"collection": collection, "resource": resource, "subclass": subclass, ... }' instead of a call to 'dict'. (use-dict-literal)
+ https://paste.opendev.org/show/byPGPhoYev8GTRQTMW0O/

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

Title:
  [neutron-lib] Gate pep8 errors

Status in neutron:
  New

Bug description:
  Gate pep8 job is throwing the following errors:
  https://paste.opendev.org/show/byPGPhoYev8GTRQTMW0O/

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



Follow ups