Skip to content

Chore/deps and tooling #768

Chore/deps and tooling

Chore/deps and tooling #768

Triggered via pull request September 26, 2024 15:07
Status Failure
Total duration 1m 9s
Artifacts 3

ci.yml

on: pull_request
Matrix: ci / pytest
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (RUF100): questionpy/form/_model.py#L128
questionpy/form/_model.py:128:100: RUF100 Unused `noqa` directive (unused: `N804`)
Ruff (SIM115): questionpy_sdk/commands/package.py#L112
questionpy_sdk/commands/package.py:112:21: SIM115 Use a context manager for opening files
Ruff (S602): questionpy_sdk/package/builder.py#L119
questionpy_sdk/package/builder.py:119:14: S602 `subprocess` call with `shell=True` identified, security issue
Ruff (RUF100): questionpy_sdk/package/builder.py#L122
questionpy_sdk/package/builder.py:122:26: RUF100 Unused `noqa` directive (unused: `S602`)
Ruff (UP031): questionpy_sdk/webserver/question_ui/__init__.py#L440
questionpy_sdk/webserver/question_ui/__init__.py:440:32: UP031 Use format specifiers instead of percent format
Ruff (RUF034): questionpy_sdk/webserver/question_ui/errors.py#L125
questionpy_sdk/webserver/question_ui/errors.py:125:13: RUF034 Useless if-else condition
Ruff (RUF029): questionpy_sdk/webserver/routes/attempt.py#L164
questionpy_sdk/webserver/routes/attempt.py:164:11: RUF029 Function `restart_attempt` is declared `async`, but doesn't `await` or use `async` features.
Ruff (RUF029): questionpy_sdk/webserver/routes/attempt.py#L173
questionpy_sdk/webserver/routes/attempt.py:173:11: RUF029 Function `edit_last_attempt` is declared `async`, but doesn't `await` or use `async` features.
Ruff (RUF029): questionpy_sdk/webserver/routes/options.py#L87
questionpy_sdk/webserver/routes/options.py:87:11: RUF029 Function `delete_question_state` is declared `async`, but doesn't `await` or use `async` features.
Ruff (RUF100): tests/questionpy_sdk/commands/conftest.py#L55
tests/questionpy_sdk/commands/conftest.py:55:18: RUF100 Unused `noqa` directive (unused: `FURB118`)

Artifacts

Produced during runtime
Name Size
build Expired
133 KB
coverage_report_3.11 Expired
212 KB
coverage_report_3.12 Expired
212 KB