mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 13:34:58 +08:00
Replace Flake8 checks with Ruff (except for flake8-pyi) (#11496)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
@@ -5,10 +5,10 @@ This tests that star imports work when using "all += " syntax.
|
||||
from __future__ import annotations
|
||||
|
||||
import sys
|
||||
from typing import * # noqa: F403
|
||||
from zipfile import * # noqa: F403
|
||||
from typing import *
|
||||
from zipfile import *
|
||||
|
||||
if sys.version_info >= (3, 9):
|
||||
x: Annotated[int, 42] # noqa: F405
|
||||
x: Annotated[int, 42]
|
||||
|
||||
p: Path # noqa: F405
|
||||
p: Path
|
||||
|
||||
Reference in New Issue
Block a user