Skip to content

Commit d501764

Browse files
committed
refactor: remove redundant pylint disable from celery instrumentation
1 parent ba0644f commit d501764

File tree

2 files changed

+2
-2
lines changed
  • instrumentation/opentelemetry-instrumentation-celery/src/opentelemetry/instrumentation/celery

2 files changed

+2
-2
lines changed

.pylintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ disable=missing-docstring,
8484
missing-module-docstring, # temp-pylint-upgrade
8585
import-error, # needed as a workaround as reported here: https://github.com/open-telemetry/opentelemetry-python-contrib/issues/290
8686
cyclic-import,
87-
not-context-manager
87+
not-context-manager,
88+
attribute-defined-outside-init
8889

8990
# Enable the message, report, category or checker with the given id(s). You can
9091
# either give multiple identifier separated by comma (,) or put this option

instrumentation/opentelemetry-instrumentation-celery/src/opentelemetry/instrumentation/celery/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ def instrumentation_dependencies(self) -> Collection[str]:
123123
def _instrument(self, **kwargs):
124124
tracer_provider = kwargs.get("tracer_provider")
125125

126-
# pylint: disable=attribute-defined-outside-init
127126
self._tracer = trace.get_tracer(
128127
__name__,
129128
__version__,

0 commit comments

Comments
 (0)