Skip to content
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

Add fix for future-required-type-annotation #8711

Merged
merged 1 commit into from
Nov 16, 2023
Merged

Add fix for future-required-type-annotation #8711

merged 1 commit into from
Nov 16, 2023

Conversation

charliermarsh
Copy link
Member

Summary

We already support inserting imports for I002 -- this PR just adds the same fix for FA102, which is explicitly about from __future__ import annotations.

Closes #8682.

@charliermarsh charliermarsh added the fixes Related to suggested fixes for violations label Nov 16, 2023
@charliermarsh charliermarsh enabled auto-merge (squash) November 16, 2023 03:01
@charliermarsh charliermarsh merged commit a591725 into main Nov 16, 2023
16 checks passed
@charliermarsh charliermarsh deleted the charlie/fa branch November 16, 2023 03:08
Copy link
Contributor

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixes Related to suggested fixes for violations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add suggestion or fix for FA102 (future-required-type-annotation)
1 participant