ruff check fails on main in playground/backend_manager
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 88/100
Research direction
Start by running uv run ruff check . on main and inspect the reported lines in playground/backend_manager/app/auth/jwt_handler.py, app/auth/otp_service.py, app/services/bigquery_service.py, app/services/docker_service.py, and app/services/session_manager.py. Update only the reported lint issues, then rerun the command; done means Ruff reports no errors.
Written by the indexing model from the issue text.
Description
Running uv run ruff check . on main fails with 11 errors in playground/backend_manager.
These were introduced with the playground merge in #24:
$ uv run ruff check .
UP017 [*] Use `datetime.UTC` alias
--> playground/backend_manager/app/auth/jwt_handler.py:32:29
UP017 [*] Use `datetime.UTC` alias
--> playground/backend_manager/app/auth/otp_service.py:41:35
UP017 [*] Use `datetime.UTC` alias
--> playground/backend_manager/app/auth/otp_service.py:68:25
UP045 [*] Use `X | None` for type annotations
--> playground/backend_manager/app/services/bigquery_service.py:37:23
UP037 [*] Remove quotes from type annotation
--> playground/backend_manager/app/services/bigquery_service.py:37:32
UP045 [*] Use `X | None` for type annotations
--> playground/backend_manager/app/services/docker_service.py:36:23
UP037 [*] Remove quotes from type annotation
--> playground/backend_manager/app/services/docker_service.py:36:32
UP017 [*] Use `datetime.UTC` alias
--> playground/backend_manager/app/services/session_manager.py:52:36
UP017 [*] Use `datetime.UTC` alias
--> playground/backend_manager/app/services/session_manager.py:81:28
UP017 [*] Use `datetime.UTC` alias
--> playground/backend_manager/app/services/session_manager.py:167:28
Found 11 errors.
Steps to reproduce:
- Check out
main - Run
uv run ruff check .
- Dominant language
- Python
- Stars
- 8.2k
- Forks
- 779
- Avg merge
- 20m
- Merged PRs (30d)
- 4
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from google/artemis
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100