mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 05:15:12 +00:00
19 lines
471 B
Python
19 lines
471 B
Python
"""Test: explicit re-export."""
|
|
|
|
# OK
|
|
from .applications import FastAPI as FastAPI
|
|
|
|
# F401 `background.BackgroundTasks` imported but unused
|
|
from .background import BackgroundTasks
|
|
|
|
# F401 `datastructures.UploadFile` imported but unused
|
|
from .datastructures import UploadFile as FileUpload
|
|
|
|
# OK
|
|
import applications as applications
|
|
|
|
# F401 `background` imported but unused
|
|
import background
|
|
|
|
# F401 `datastructures` imported but unused
|
|
import datastructures as structures
|