Skip to content

Conversation

@MeGaGiGaGon
Copy link
Contributor

Summary

Part of #18972

This PR makes snake-case-type-alias (PYI042)'s example error out-of-the-box

Old example

type_alias_name: TypeAlias = int

New example

from typing import TypeAlias

type_alias_name: TypeAlias = int

Imports were also added to the "use instead" section.

Test Plan

N/A, no functionality/tests affected

@github-actions
Copy link
Contributor

github-actions bot commented Jul 2, 2025

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@AlexWaygood AlexWaygood added the documentation Improvements or additions to documentation label Jul 2, 2025
@AlexWaygood AlexWaygood merged commit 321575e into astral-sh:main Jul 2, 2025
36 checks passed
@MeGaGiGaGon MeGaGiGaGon deleted the patch-5 branch July 2, 2025 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants