mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Remove unneeded # noqa comments, fix broken # noqa comments (#7561)
This commit is contained in:
@@ -23,7 +23,7 @@ class StrictVersion(Version):
|
||||
prerelease: tuple[str, int] | None
|
||||
def __init__(self, vstring: str | None = ...) -> None: ...
|
||||
def parse(self: Self, vstring: str) -> Self: ...
|
||||
def __str__(self) -> str: ... # noqa Y029
|
||||
def __str__(self) -> str: ... # noqa: Y029
|
||||
def _cmp(self: Self, other: Self | str) -> bool: ...
|
||||
|
||||
class LooseVersion(Version):
|
||||
@@ -32,5 +32,5 @@ class LooseVersion(Version):
|
||||
version: tuple[str | int, ...]
|
||||
def __init__(self, vstring: str | None = ...) -> None: ...
|
||||
def parse(self: Self, vstring: str) -> Self: ...
|
||||
def __str__(self) -> str: ... # noqa Y029
|
||||
def __str__(self) -> str: ... # noqa: Y029
|
||||
def _cmp(self: Self, other: Self | str) -> bool: ...
|
||||
|
||||
Reference in New Issue
Block a user