perf: optimize logging performance and modernize string formatting #1533
Annotations
4 errors and 5 notices
|
Lint Code Base
Process completed with exit code 1.
|
|
Lint Code Base
The process '/opt/hostedtoolcache/ruff/0.12.9/x86_64/ruff' failed with exit code 1
|
|
Ruff (G004):
src/a2a/server/events/event_queue.py#L214
src/a2a/server/events/event_queue.py:214:21: G004 Logging statement uses f-string
|
|
Ruff (G004):
src/a2a/server/events/event_queue.py#L196
src/a2a/server/events/event_queue.py:196:25: G004 Logging statement uses f-string
|
|
Lint Code Base
repository contains 22 duplications.
4 duplications were part of this PR and were annotated
|
|
Copy/pasted code:
src/a2a/utils/error_handlers.py#L67
see src/a2a/utils/error_handlers.py (105-119)
|
|
Copy/pasted code:
src/a2a/utils/error_handlers.py#L105
see src/a2a/utils/error_handlers.py (67-81)
|
|
Copy/pasted code:
src/a2a/utils/telemetry.py#L204
see src/a2a/utils/telemetry.py (239-257)
|
|
Copy/pasted code:
src/a2a/utils/telemetry.py#L239
see src/a2a/utils/telemetry.py (204-222)
|