This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Unignore and enforce check E731 ("Do not assign a lambda expression, use a def") #9369
Labels
T-Task
Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.
(
E731
checks "Do not assign a lambda expression, use a def")This check is voilated in only a few cases;
The first to related to caching and then wrapping the callback functions in lambdas, and the last one being
ThreadedMemoryReactorClock.callFromThread
, I think it's better to remove this violation from the ignore list, and then to add# noqa: E731
statements on those specific places.The text was updated successfully, but these errors were encountered: