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

Enable flake8-future-annotations FA rules in ruff #284

Closed
nathanjmcdougall opened this issue Jul 24, 2024 · 0 comments · Fixed by #289
Closed

Enable flake8-future-annotations FA rules in ruff #284

nathanjmcdougall opened this issue Jul 24, 2024 · 0 comments · Fixed by #289
Labels
.maint upkeep and maintenance of the pkg .typing

Comments

@nathanjmcdougall
Copy link
Contributor

https://docs.astral.sh/ruff/rules/#flake8-future-annotations-fa

To avoid this sort of thing:
allow_pickle_read: "bool | None" = None
and instead do
allow_pickle_read: bool | None = None
even though we still support 3.8 and 3.9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
.maint upkeep and maintenance of the pkg .typing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants