Skip to content

Conversation

MeGaGiGaGon
Copy link
Contributor

Summary

Part of #18972

This PR makes datetime-min-max (DTZ901)'s example error out-of-the-box

Old example

class Foo:
    def __eq__(self, obj: typing.Any) -> bool: ...

New example

from typing import Any


class Foo:
    def __eq__(self, obj: Any) -> bool: ...

Test Plan

N/A, no functionality/tests affected

@MeGaGiGaGon MeGaGiGaGon requested a review from AlexWaygood as a code owner July 1, 2025 00:55
Copy link
Contributor

github-actions bot commented Jul 1, 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 1, 2025
@AlexWaygood AlexWaygood merged commit b8653a9 into astral-sh:main Jul 1, 2025
36 checks passed
@MeGaGiGaGon MeGaGiGaGon deleted the patch-5 branch July 1, 2025 07:25
iyakushev pushed a commit to iyakushev/ruff that referenced this pull request Jul 1, 2025
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