improve typing
This commit is contained in:
parent
d3dc0f942a
commit
ab43b315d5
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ def _is_rule_satisfied(in_list: list, rule: DependencyRule) -> tuple[bool, int]:
|
||||||
return parent_index < child_index, parent_index
|
return parent_index < child_index, parent_index
|
||||||
|
|
||||||
|
|
||||||
def sort_env_files_by_rule(env_list: list[EnvFile], rules: list[DependencyRule]) -> list:
|
def sort_env_files_by_rule(env_list: list[EnvFile], rules: list[DependencyRule]) -> list[EnvFile]:
|
||||||
in_list = env_list.copy()
|
in_list = env_list.copy()
|
||||||
|
|
||||||
def swap_item_with_previous(in_list: list[EnvFile], index: int):
|
def swap_item_with_previous(in_list: list[EnvFile], index: int):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue