Skip to content

Commit

Permalink
pylint (#36437)
Browse files Browse the repository at this point in the history
  • Loading branch information
l0lawrence committed Jul 15, 2024
1 parent e6c8f13 commit 5fe1eb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import time
from concurrent.futures import ThreadPoolExecutor, TimeoutError as FuturesTimeoutError
import queue
from typing import TYPE_CHECKING, Union, Optional, Any
from typing import TYPE_CHECKING, Union, Optional, Any, Callable

from .._servicebus_receiver import ServiceBusReceiver
from .._servicebus_session import ServiceBusSession
Expand All @@ -19,7 +19,6 @@
from .utils import get_renewable_start_time, utc_now, get_renewable_lock_duration

if TYPE_CHECKING:
from typing import Callable

Renewable = Union[ServiceBusSession, ServiceBusReceivedMessage]
LockRenewFailureCallback = Callable[[Renewable, Optional[Exception]], None]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
from datetime import datetime, timedelta
from typing import TYPE_CHECKING, cast, Union, Mapping, Type, Any, Optional
from typing import TYPE_CHECKING, cast, Union, Mapping, Type, Any, Optional, TypeVar
from xml.etree.ElementTree import ElementTree, SubElement, QName
import isodate

Expand All @@ -12,7 +12,6 @@

if TYPE_CHECKING:
# pylint: disable=unused-import, ungrouped-imports
from typing import TypeVar
from ._models import (
QueueProperties,
TopicProperties,
Expand Down

0 comments on commit 5fe1eb4

Please sign in to comment.