mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 13:25:17 +00:00
7 lines
207 B
Python
7 lines
207 B
Python
import typing
|
|
from typing import TypeAlias
|
|
|
|
# UP040
|
|
# Fixes in type stub files should be safe to apply unlike in regular code where runtime behavior could change
|
|
x: typing.TypeAlias = int
|
|
x: TypeAlias = int
|