feat(server): implement Resource Scoping for tasks and push notifications
#2368
Annotations
11 errors, 1 warning, and 5 notices
|
Lint Code Base
Process completed with exit code 1.
|
|
ruff (D415):
alembic/versions/6419d2d130f6_add_owner_to_task.py#L1
alembic/versions/6419d2d130f6_add_owner_to_task.py:1:1: D415 First line should end with a period, question mark, or exclamation point
|
|
ruff (INP001):
alembic/versions/6419d2d130f6_add_owner_to_task.py#L1
alembic/versions/6419d2d130f6_add_owner_to_task.py:1:1: INP001 File `alembic/versions/6419d2d130f6_add_owner_to_task.py` is part of an implicit namespace package. Add an `__init__.py`.
|
|
ruff (ANN201):
alembic/env.py#L77
alembic/env.py:77:5: ANN201 Missing return type annotation for public function `run_migrations_online`
|
|
ruff (D205):
alembic/env.py#L62
alembic/env.py:62:5: D205 1 blank line required between summary line and description
|
|
ruff (ANN201):
alembic/env.py#L61
alembic/env.py:61:11: ANN201 Missing return type annotation for public function `run_async_migrations`
|
|
ruff (ANN001):
alembic/env.py#L54
alembic/env.py:54:23: ANN001 Missing type annotation for function argument `connection`
|
|
ruff (D103):
alembic/env.py#L54
alembic/env.py:54:5: D103 Missing docstring in public function
|
|
ruff (ANN201):
alembic/env.py#L54
alembic/env.py:54:5: ANN201 Missing return type annotation for public function `do_run_migrations`
|
|
ruff (ERA001):
alembic/env.py#L26
alembic/env.py:26:1: ERA001 Found commented-out code
|
|
ruff (INP001):
alembic/env.py#L1
alembic/env.py:1:1: INP001 File `alembic/env.py` is part of an implicit namespace package. Add an `__init__.py`.
|
|
Lint Code Base
No github_token supplied, API requests will be subject to stricter rate limiting
|
|
Lint Code Base
repository contains 47 duplications.
4 duplications were part of this PR and were annotated
|
|
Copy/pasted code:
src/a2a/server/tasks/inmemory_task_store.py#L62
see src/a2a/server/tasks/database_task_store.py (191-208)
|
|
Copy/pasted code:
src/a2a/server/tasks/database_task_store.py#L191
see src/a2a/server/tasks/inmemory_task_store.py (62-78)
|
|
Copy/pasted code:
src/a2a/server/tasks/inmemory_task_store.py#L7
see src/a2a/server/tasks/database_task_store.py (37-48)
|
|
Copy/pasted code:
src/a2a/server/tasks/database_task_store.py#L37
see src/a2a/server/tasks/inmemory_task_store.py (7-18)
|