Commit 66acee1
committed
Fix pylint and Sphinx CI failures
- Add __init__ to CeleryInstrumentor and CeleryWorkerInstrumentor
to satisfy attribute-defined-outside-init (W0201)
- Remove generic type parameter from CeleryGetter to fix Sphinx
reference resolution for Request
- Split test_metrics.py into two files to stay under 1000 lines
- Mark _run_task as @staticmethod (R6301)
- Initialize einfo before try block (E0601)
- Add CHANGELOG entries1 parent 7385de2 commit 66acee1
4 files changed
Lines changed: 737 additions & 668 deletions
File tree
- instrumentation/opentelemetry-instrumentation-celery
- src/opentelemetry/instrumentation/celery
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
18 | 25 | | |
19 | 26 | | |
20 | 27 | | |
| |||
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
283 | 291 | | |
284 | 292 | | |
285 | 293 | | |
| |||
810 | 818 | | |
811 | 819 | | |
812 | 820 | | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
813 | 826 | | |
814 | 827 | | |
815 | 828 | | |
| |||
0 commit comments