Skip to content

Commit 1f96eb3

Browse files
committed
Lint with pycln
1 parent 5b47ec4 commit 1f96eb3

File tree

6 files changed

+1
-12
lines changed

6 files changed

+1
-12
lines changed

pendulum/_extensions/helpers.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import datetime
44
import math
5-
import typing
65

76
from collections import namedtuple
87

pendulum/datetime.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@
44
import datetime
55

66
from typing import Callable
7-
from typing import Dict
8-
from typing import List
9-
from typing import Optional
10-
from typing import Tuple
11-
from typing import Union
127

138
import pendulum
149

pendulum/formatting/difference_formatter.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
from __future__ import annotations
22

3-
import typing
4-
53
import pendulum
64

75
from ..locales.locale import Locale

pendulum/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
from math import copysign
1111
from typing import TYPE_CHECKING
1212
from typing import Iterator
13-
from typing import Optional
1413
from typing import TypeVar
1514
from typing import overload
1615

@@ -31,6 +30,7 @@
3130
_D = TypeVar("_D", bound=date)
3231

3332
try:
33+
# nopycln: file
3434
if not with_extensions or struct.calcsize("P") == 4:
3535
raise ImportError()
3636

pendulum/tz/local_timezone.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
from contextlib import contextmanager
88
from typing import Iterator
9-
from typing import Optional
10-
from typing import Union
119

1210
from .exceptions import InvalidTimezone
1311
from .timezone import FixedTimezone

pendulum/tz/timezone.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from datetime import datetime
66
from datetime import timedelta
77
from datetime import tzinfo
8-
from typing import Optional
98
from typing import TypeVar
109

1110
from pendulum.utils._compat import zoneinfo

0 commit comments

Comments
 (0)