Skip to content

Commit

Permalink
feat(#1): generaliza funcao para organizar modulos prioritarios
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinicius Abade committed May 9, 2021
1 parent ec0d642 commit ee83b4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions auto_rollcall/utils/file_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def get_each_module_importation(
return (import_module(module) for module in module_import_name_list)


def put_database_as_first_module(
def orgainze_priority_on_sequence(
module_import_name_list: Iterable[str],
priority_module_list: List[str],
) -> List[str]:
Expand All @@ -51,7 +51,7 @@ def call_each_init_app_function(
file_pattern_regex,
)
if priority_module_list:
normalized_module_list = put_database_as_first_module(
normalized_module_list = orgainze_priority_on_sequence(
module_list,
priority_module_list,
)
Expand Down

0 comments on commit ee83b4b

Please sign in to comment.