Skip to content

UP035 --fix not working for Deque #3510

@torarvid

Description

@torarvid

When running ruff --fix test.py (Ruff 0.0.255), it doesn't change the Deque to deque

from typing import Deque

a: Deque[str]

However, interestingly, if we replace Deque with List, it does change to list

from typing import List

a: List[str]

Metadata

Metadata

Assignees

Labels

fixesRelated to suggested fixes for violations

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions