Skip to content

PTFE-1575 Upgrade githubkit to latest version #842

PTFE-1575 Upgrade githubkit to latest version

PTFE-1575 Upgrade githubkit to latest version #842

Triggered via pull request March 18, 2024 21:20
Status Failure
Total duration 1m 15s
Artifacts

trunk-check.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 1 warning
ruff(F401): runner_manager/dependencies.py#L1
[new] `datetime.timedelta` imported but unused
ruff(F401): runner_manager/models/runner.py#L4
[new] `typing.TypedDict` imported but unused
pyright(reportOperatorIssue): runner_manager/models/runner.py#L149
[new] Operator "-" not supported for types "datetime" and "datetime | str"   Operator "-" not supported for types "datetime" and "str" when expected type is "timedelta"
pyright(reportArgumentType): runner_manager/clients/github.py#L120
[new] Argument of type "Any" cannot be assigned to parameter "response_model" of type "type[T@request]" in function "request"
pyright(reportArgumentType): runner_manager/backend/gcloud.py#L180
[new] Argument of type "SimpleUser | Literal['']" cannot be assigned to parameter "value" of type "str | int | float | None" in function "_sanitize_label_value"
black: runner_manager/dependencies.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
black: tests/api/test_webhook_router.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: runner_manager/jobs/workflow_job.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
black: tests/conftest.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
black: runner_manager/jobs/workflow_job.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: tests/api/test_webhook_router.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
Trunk Check
Process completed with exit code 1.
Trunk Check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.