You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@asottile Can you add some background on why flake8 sorts entry points and what it expects from the sorting? In eb839a6, the tests now ensure that the entry points are sortable, but doesn't provide any guarantees on what the sorted order is. What would you expect by sorting them?
(1) startup consistency (we were seeing hard-to-debug 50/50 bugs based on plugin load order and broken monkeypatching)
(2) so that the plugins list in the --version output is sorted
In #266, we stumbled onto a case where flake8 sorts entry points, adding an implicit contract on the EntryPoint class.
Assuming this project wishes to support that behavior, it should have a test to capture it directly.
The text was updated successfully, but these errors were encountered: