Skip to content

Commit

Permalink
fix: use autosort when sorting available preprocessors
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Aug 16, 2021
1 parent b753ac5 commit f656d00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nanite/preproc.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def available():
func = getattr(IndentationPreprocessor, key)
if hasattr(func, "identifier"):
av.append(func.identifier)
return sorted(av)
return IndentationPreprocessor.autosort(av)

@staticmethod
def check_order(identifiers):
Expand Down

0 comments on commit f656d00

Please sign in to comment.