Skip to content

Enable ruff rule TC001~TC005 #1690

Closed
Closed

Description

@bearomorphism

There's a ruff rule doing something like this. Probably worth enabling it and let ruff do it for us in the future

Originally posted by @Lee-W in #1682 (comment)

https://docs.astral.sh/ruff/rules/#flake8-type-checking-tc

Activity

  1. changed the title [-]Enable ruff rule TC003[/-] [+]Enable ruff rule TC001~TC005[/+] on Dec 4, 2025
  2. added theissue type on Dec 4, 2025
  3. bearomorphism commented on Dec 4, 2025

    @bearomorphism
    CollaboratorAuthor

    I think we can also enable TC006?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions