Skip to content

Commit 7b62bef

Browse files
committed
MAINT: fix coding style
1 parent 9a5b009 commit 7b62bef

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

mesonpy/__init__.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,11 @@
4949
import mesonpy._util
5050
import mesonpy._wheelfile
5151

52-
from mesonpy._compat import (
53-
Collection, Iterable, Mapping, cached_property, read_binary
54-
)
52+
from mesonpy._compat import Collection, Iterable, Mapping, cached_property, read_binary
5553

5654

5755
if typing.TYPE_CHECKING: # pragma: no cover
58-
from typing import (
59-
Any, Callable, ClassVar, DefaultDict, List, Optional, Sequence, Set,
60-
TextIO, Tuple, Type, TypeVar, Union
61-
)
56+
from typing import Any, Callable, ClassVar, DefaultDict, List, Optional, Sequence, Set, TextIO, Tuple, Type, TypeVar, Union
6257

6358
import pyproject_metadata
6459

mesonpy/_compat.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515

1616

1717
if sys.version_info >= (3, 9):
18-
from collections.abc import (
19-
Collection, Iterable, Iterator, Mapping, Sequence
20-
)
18+
from collections.abc import Collection, Iterable, Iterator, Mapping, Sequence
2119
else:
2220
from typing import Collection, Iterable, Iterator, Mapping, Sequence
2321

0 commit comments

Comments
 (0)