Skip to content

Apply ruff/flake8-pyi rule PYI044 #604

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 26, 2025

Conversation

DimitriPapadopoulos
Copy link
Contributor

@DimitriPapadopoulos DimitriPapadopoulos commented May 26, 2025

PYI044 from __future__ import annotations has no effect in stub files, since type checkers automatically treat stubs as having those semantics


📚 Documentation preview 📚: https://scientific-python-cookie--604.org.readthedocs.build/

PYI044 `from __future__ import annotations` has no effect in stub files,
       since type checkers automatically treat stubs as having those semantics
@henryiii henryiii merged commit 1b3f5b7 into scientific-python:main May 26, 2025
21 checks passed
@DimitriPapadopoulos DimitriPapadopoulos deleted the stub branch May 26, 2025 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants