Silence some pylint4 warnings (#4272)
* pylint: use unnecessary-dunder-call instead of E1101 Since pylint 4 now raises a different error code * opentelemetry-instrumentation-sqlite3: fix pylint warnings Possibly using variable 'root_span' before assignment (possibly-used-before-assignment) Possibly using variable 'child_span' before assignment (possibly-used-before-assignment) * opentelemetry-instrumentation-botocore: silence a bunch of pylint warnings In the form of Possibly using variable '<var>' before assignment (possibly-used-before-assignment) * opentelemetry-instrumentation-redis: remove useless return spotted by pylint * opentelemetry-instrumentation-fastapi: silence some pylint warnings E0102: function already defined line 2034 (function-redefined) * opentelemetry-instrumentation-google-genai: fix pylint warnings Assisted by Cursor. * opentelemetry-instrumentation-openai-v2: fix pylint 4 errors Assisted by Cursor * opentelemetry-instrumentation-elasticsearch: fix pylint 4 errors Assisted by Cursor. * opentelemetry-instrumentation-pika: fix pylint 4 errors Assisted by cursor. * opentelemetry-instrumentation-starlette: fix pylint 4 errors * opentelemetry-instrumentation: fix pylint 4 errors Assisted by Cursor. * opentelemetry-util-http: fix pylint 4 errors
R
Riccardo Magliocchetti committed
b35be0d73eec2206d40dcfa78a04ac1888335fd3
Parent: d01b7bf
Committed by GitHub <noreply@github.com>
on 3/12/2026, 10:07:32 AM