Skip to content

Upgrade githubkit to latest version

Sign in for the full log view
GitHub Actions / Trunk Check failed Mar 18, 2024 in 22s

Trunk Check

Checked 21 modified files
✖ 11 new issues (8 auto-fixable)

Details

To reproduce and test locally, run:
trunk check

For help resolving these issues, see our docs on running on PRs or debugging Trunk Check

Annotations

Check failure on line 1 in runner_manager/dependencies.py

See this annotation in the file changed.

@github-actions github-actions / Trunk Check

ruff(F401)

[new] `datetime.timedelta` imported but unused

Check failure on line 4 in runner_manager/models/runner.py

See this annotation in the file changed.

@github-actions github-actions / Trunk Check

ruff(F401)

[new] `typing.TypedDict` imported but unused

Check failure on line 149 in runner_manager/models/runner.py

See this annotation in the file changed.

@github-actions github-actions / Trunk Check

pyright(reportOperatorIssue)

[new] Operator "-" not supported for types "datetime" and "datetime | str"
  Operator "-" not supported for types "datetime" and "str" when expected type is "timedelta"

Check failure on line 120 in runner_manager/clients/github.py

See this annotation in the file changed.

@github-actions github-actions / Trunk Check

pyright(reportArgumentType)

[new] Argument of type "Any" cannot be assigned to parameter "response_model" of type "type[T@request]" in function "request"

Check failure on line 180 in runner_manager/backend/gcloud.py

See this annotation in the file changed.

@github-actions github-actions / Trunk Check

pyright(reportArgumentType)

[new] Argument of type "SimpleUser | Literal['']" cannot be assigned to parameter "value" of type "str | int | float | None" in function "_sanitize_label_value"

Check failure on line 1 in runner_manager/dependencies.py

See this annotation in the file changed.

@github-actions github-actions / Trunk Check

black

Incorrect formatting, autoformat by running 'trunk fmt'

Check failure on line 1 in tests/api/test_webhook_router.py

See this annotation in the file changed.

@github-actions github-actions / Trunk Check

black

Incorrect formatting, autoformat by running 'trunk fmt'

Check failure on line 1 in runner_manager/jobs/workflow_job.py

See this annotation in the file changed.

@github-actions github-actions / Trunk Check

isort

Incorrect formatting, autoformat by running 'trunk fmt'

Check failure on line 1 in tests/conftest.py

See this annotation in the file changed.

@github-actions github-actions / Trunk Check

black

Incorrect formatting, autoformat by running 'trunk fmt'

Check failure on line 1 in runner_manager/jobs/workflow_job.py

See this annotation in the file changed.

@github-actions github-actions / Trunk Check

black

Incorrect formatting, autoformat by running 'trunk fmt'

Check failure on line 1 in tests/api/test_webhook_router.py

See this annotation in the file changed.

@github-actions github-actions / Trunk Check

isort

Incorrect formatting, autoformat by running 'trunk fmt'