Skip to content

Commit

Permalink
str
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner committed Aug 20, 2023
1 parent efaff4e commit fb8db10
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pep-lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

TYPE_CHECKING = False
if TYPE_CHECKING:
import os
from collections.abc import Iterable, Iterator, KeysView, Sequence
from typing import TypeAlias

Expand Down Expand Up @@ -80,7 +79,7 @@
MAILMAN_3_MESSAGE_PATTERN = re.compile(r"[\w\-]+@python\.org/message/[a-z0-9]+/?(#[a-z0-9]+)?", re.ASCII | re.IGNORECASE)


def check(filenames: Sequence[str | os.PathLike[str]] = (), /) -> int:
def check(filenames: Sequence[str] = (), /) -> int:
"""The main entry-point."""
if filenames:
filenames = map(Path, filenames)
Expand Down

0 comments on commit fb8db10

Please sign in to comment.