yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #91205
[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 | [7;33m************* Module neutron_lib.api.attributes[0m
- 2023-02-01 13:06:33.381535 | ubuntu-jammy | neutron_lib/api/attributes.py:235:31: R1735: [1;3;35mConsider using '{"attr": attr, "reason": res}' instead of a call to 'dict'.[0m ([1;3;35muse-dict-literal[0m)
- 2023-02-01 13:06:33.381565 | ubuntu-jammy | [7;33m************* Module neutron_lib.db.standard_attr[0m
- 2023-02-01 13:06:33.381587 | ubuntu-jammy | neutron_lib/db/standard_attr.py:217:27: R1735: [1;3;35mConsider using '{"sub": subclass, "other": rs_map[resource], "res": resource}' instead of a call to 'dict'.[0m ([1;3;35muse-dict-literal[0m)
- 2023-02-01 13:06:33.381609 | ubuntu-jammy | neutron_lib/db/standard_attr.py:245:27: R1735: [1;3;35mConsider using '{"collection": collection, "resource": resource, "subclass": subclass, ... }' instead of a call to 'dict'.[0m ([1;3;35muse-dict-literal[0m)
+ 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