Skip to content

Commit 35218f4

Browse files
lint
1 parent 44fdfdb commit 35218f4

File tree

1 file changed

+3
-3
lines changed
  • instrumentation/opentelemetry-instrumentation-mysqlclient/src/opentelemetry/instrumentation/mysqlclient

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,10 @@
125125

126126

127127
class MySQLClientInstrumentor(BaseInstrumentor):
128-
def instrumentation_dependencies(self) -> Collection[str]:
128+
def instrumentation_dependencies(self) -> Collection[str]: # pylint: disable=no-self-use
129129
return _instruments
130130

131-
def _instrument(self, **kwargs):
131+
def _instrument(self, **kwargs): # pylint: disable=no-self-use
132132
"""Integrate with the mysqlclient library.
133133
https://github.com/PyMySQL/mysqlclient/
134134
"""
@@ -148,7 +148,7 @@ def _instrument(self, **kwargs):
148148
commenter_options=commenter_options,
149149
)
150150

151-
def _uninstrument(self, **kwargs):
151+
def _uninstrument(self, **kwargs): # pylint: disable=no-self-use
152152
""" "Disable mysqlclient instrumentation"""
153153
dbapi.unwrap_connect(MySQLdb, "connect")
154154

0 commit comments

Comments
 (0)