spelling: prioritize
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
fe8e0387a4
commit
ef7ed91f86
|
@ -230,7 +230,7 @@ class LFPluginCollWrapper:
|
||||||
# Sort any lf-paths to the beginning.
|
# Sort any lf-paths to the beginning.
|
||||||
lf_paths = self.lfplugin._last_failed_paths
|
lf_paths = self.lfplugin._last_failed_paths
|
||||||
|
|
||||||
# Use stable sort to priorize last failed.
|
# Use stable sort to prioritize last failed.
|
||||||
def sort_key(node: Union[nodes.Item, nodes.Collector]) -> bool:
|
def sort_key(node: Union[nodes.Item, nodes.Collector]) -> bool:
|
||||||
return node.path in lf_paths
|
return node.path in lf_paths
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue