PR #43489 #30
codeql
on: dynamic
Matrix: Analyze
Annotations
9 errors
ruff(F401):
src/blight/actions/embed_commands.py#L11
[new] `os` imported but unused
|
ruff(F401):
src/blight/actions/embed_commands.py#L12
[new] `random` imported but unused
|
mypy(no-untyped-def):
src/blight/actions/embed_commands.py#L28
[new] Function is missing a type annotation for one or more arguments
|
mypy(var-annotated):
src/blight/actions/embed_commands.py#L46
[new] Need type annotation for "env" (hint: "env: Dict[<type>, <type>] = ...")
|
ruff(F841):
src/blight/actions/embed_commands.py#L82
[new] Local variable `output` is assigned to but never used
|
mypy(note):
src/blight/actions/embed_commands.py#L86
[new] This violates the Liskov substitution principle. See https://mypy.readthedocs.io/en/stable/common_issues.html#incompatible-overrides
|
mypy(override):
src/blight/actions/embed_commands.py#L86
[new] Argument 1 of "before_run" is incompatible with supertype "Action"; supertype defines the argument type as "Tool"
|
mypy(arg-type):
src/blight/actions/embed_commands.py#L96
[new] Argument 1 to "flock_append" has incompatible type "str"; expected "PathLike[Any]"
|
black:
src/blight/actions/embed_commands.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
|