Skip to content

Fix Recent Flake8 discouragement #1054

@garrettwrong

Description

@garrettwrong

Found the following trying to assemble an unrelated PR. I don't believe it is actually a bug, rather a recommendation to avoid a poor practice that could result in a bug.

./src/aspire/operators/filters.py:202:66: B026 Star-arg unpacking after a keyword argument is strongly discouraged, because it only works when the keyword parameter is declared after all parameters supplied by the unpacked sequence, and this change of ordering can surprise and mislead readers.
./src/aspire/operators/filters.py:364:57: B026 Star-arg unpacking after a keyword argument is strongly discouraged, because it only works when the keyword parameter is declared after all parameters supplied by the unpacked sequence, and this change of ordering can surprise and mislead readers.

Will address and push through to unblock CI.

Metadata

Metadata

Assignees

Labels

CIContinuous Integrationcleanup

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions