Skip to content

Commit

Permalink
MAINT: fix coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
dnicolodi committed Feb 8, 2023
1 parent 9a5b009 commit 7b62bef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
9 changes: 2 additions & 7 deletions mesonpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,11 @@
import mesonpy._util
import mesonpy._wheelfile

from mesonpy._compat import (
Collection, Iterable, Mapping, cached_property, read_binary
)
from mesonpy._compat import Collection, Iterable, Mapping, cached_property, read_binary


if typing.TYPE_CHECKING: # pragma: no cover
from typing import (
Any, Callable, ClassVar, DefaultDict, List, Optional, Sequence, Set,
TextIO, Tuple, Type, TypeVar, Union
)
from typing import Any, Callable, ClassVar, DefaultDict, List, Optional, Sequence, Set, TextIO, Tuple, Type, TypeVar, Union

import pyproject_metadata

Expand Down
4 changes: 1 addition & 3 deletions mesonpy/_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@


if sys.version_info >= (3, 9):
from collections.abc import (
Collection, Iterable, Iterator, Mapping, Sequence
)
from collections.abc import Collection, Iterable, Iterator, Mapping, Sequence
else:
from typing import Collection, Iterable, Iterator, Mapping, Sequence

Expand Down

0 comments on commit 7b62bef

Please sign in to comment.