Skip to content

Commit db7080f

Browse files
committed
Lint fixes
1 parent 5af02d5 commit db7080f

4 files changed

Lines changed: 4 additions & 0 deletions

File tree

ext/opentelemetry-ext-flask/src/opentelemetry/ext/flask/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ def __init__(self, *args, **kwargs):
155155

156156

157157
class FlaskInstrumentor(BaseInstrumentor):
158+
# pylint: disable=protected-access,attribute-defined-outside-init
158159
"""A instrumentor for flask.Flask
159160
160161
See `BaseInstrumentor`

ext/opentelemetry-ext-flask/tests/base_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ def expected_attributes(override_attributes):
3636

3737

3838
class InstrumentationTest:
39+
# pylint: disable=no-member
3940
def test_only_strings_in_environ(self):
4041
"""
4142
Some WSGI servers (such as Gunicorn) expect keys in the environ object

ext/opentelemetry-ext-flask/tests/test_automatic.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
from opentelemetry.ext.flask import FlaskInstrumentor
3131
from opentelemetry.test.wsgitestutil import WsgiTestBase
3232

33+
# pylint: disable=import-error
3334
from .base_test import InstrumentationTest, expected_attributes
3435

3536

ext/opentelemetry-ext-flask/tests/test_programmatic.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
from opentelemetry.ext.flask import FlaskInstrumentor
2424
from opentelemetry.test.wsgitestutil import WsgiTestBase
2525

26+
# pylint: disable=import-error
2627
from .base_test import InstrumentationTest, expected_attributes
2728

2829

0 commit comments

Comments
 (0)