Skip to content

Commit

Permalink
Change imports to avoid pylint namespace errors (#376)
Browse files Browse the repository at this point in the history
  • Loading branch information
c24t authored Jan 29, 2020
1 parent 3995075 commit 4674973
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@
https://docs.python.org/3/tutorial/floatingpoint.html
"""

# TODO: make pylint use 3p opentracing module for type inference
# pylint:disable=no-member

import logging

import opentracing
Expand Down Expand Up @@ -266,7 +269,7 @@ def log(self, **kwargs):
def log_event(self, event, payload=None):
super().log_event(event, payload=payload)

def set_baggage_item(self, key, value):
def set_baggage_item(self, key, value): # pylint:disable=unused-argument
"""Implements the ``set_baggage_item()`` method from the base class.
Warning:
Expand All @@ -279,7 +282,7 @@ def set_baggage_item(self, key, value):
)
# TODO: Implement.

def get_baggage_item(self, key):
def get_baggage_item(self, key): # pylint:disable=unused-argument
"""Implements the ``get_baggage_item()`` method from the base class.
Warning:
Expand Down
3 changes: 3 additions & 0 deletions ext/opentelemetry-ext-opentracing-shim/tests/test_shim.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# TODO: make pylint use 3p opentracing module for type inference
# pylint:disable=no-member

import time
from unittest import TestCase

Expand Down

0 comments on commit 4674973

Please sign in to comment.