ruff
8ccd6970 - Expand scope of `quoted-annotation` rule (#5766)

Commit
2 years ago
Expand scope of `quoted-annotation` rule (#5766) ## Summary Previously, the `quoted-annotation` rule only removed quotes when `from __future__ import annotations` was present. However, there are some other cases in which this is also safe -- for example: ```python def foo(): x: "MyClass" ``` We already model these in the semantic model, so this PR just expands the scope of the rule to handle those.
Author
Parents
Loading