Sort rule_hook's imports by their first binding
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
"""Whether a simple command is a heavy one, for the `run-heavy` rule: a docker build, or a run of a mutation tool."""
|
||||
from rule_hook.docker_command import LAUNCHERS, docker_arguments, docker_subcommand, tool_name
|
||||
from rule_hook.docker_command import docker_arguments, docker_subcommand, LAUNCHERS, tool_name
|
||||
|
||||
# Each mutation tool, and the words that make its call a mutation run when one of them follows it within two words; where the set is empty, every call is one.
|
||||
MUTATORS = {"cargo": {"mutants"}, "infection": set(), "mutmut": {"run"}, "stryker": {"run"}}
|
||||
|
||||
@@ -5,10 +5,10 @@ import typing
|
||||
|
||||
from round_titles import CAP, lacks_counts, past_cap
|
||||
from git_command import commits
|
||||
from rule_hook.docker_command import unlimited_container
|
||||
from rule_hook.heavy_command import heavy
|
||||
from review_folder import REPORTS
|
||||
from shell_command import Simple
|
||||
from rule_hook.docker_command import unlimited_container
|
||||
|
||||
RuleName = typing.Literal["action-pin", "commit-one-line", "docker-run-memory", "ignorefile-sorted", "image-pin", "no-ai-attribution", "reviewer-report", "reviewer-rung", "round-cap", "round-title-counts", "run-heavy", "todo-rank-check"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user