Kumarak/embed compile command #43489
Trunk Check
Checked 4 modified files
✖ 7 new issues (5 auto-fixable)
Details
To reproduce and test locally, run:
trunk check
Annotations
Check failure on line 17 in src/blight/actions/embed_commands.py
github-actions / Trunk Check
ruff(F401)
[new] `blight.enums.Lang` imported but unused
Check failure on line 30 in src/blight/actions/embed_commands.py
github-actions / Trunk Check
ruff(C416)
[new] Unnecessary `list` comprehension (rewrite using `list()`)
Check failure on line 60 in src/blight/actions/embed_commands.py
github-actions / Trunk Check
ruff(C416)
[new] Unnecessary `list` comprehension (rewrite using `list()`)
Check failure on line 61 in src/blight/actions/embed_commands.py
github-actions / Trunk Check
ruff(C416)
[new] Unnecessary `list` comprehension (rewrite using `list()`)
Check failure on line 88 in src/blight/actions/embed_commands.py
github-actions / Trunk Check
mypy(note)
[new] This violates the Liskov substitution principle. See https://mypy.readthedocs.io/en/stable/common_issues.html#incompatible-overrides
Check failure on line 88 in src/blight/actions/embed_commands.py
github-actions / Trunk Check
mypy(override)
[new] Argument 1 of "before_run" is incompatible with supertype "Action"; supertype defines the argument type as "Tool"
Check failure on line 1 in src/blight/actions/embed_commands.py
github-actions / Trunk Check
black
Incorrect formatting, autoformat by running 'trunk fmt'