Skip to content

Commit

Permalink
fixer class sorting should.. work
Browse files Browse the repository at this point in the history
  • Loading branch information
leondz committed Feb 27, 2025
1 parent 7310811 commit e28f8c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion garak/resources/fixer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ def apply(config_dict: dict) -> dict:
for _, klass in inspect.getmembers(mod, inspect.isclass)
if klass.__module__.startswith(mod.__name__)
and Migration in klass.__bases__
]
],
key=lambda x: x.__name__.__str__(),
)
ordered_migrations += migrations

Expand Down

0 comments on commit e28f8c0

Please sign in to comment.