Skip to content

Conversation

@Avasam
Copy link
Contributor

@Avasam Avasam commented Feb 9, 2026

Summary of changes

Enables flake8-type-checking (TC) for the followings protections without having to put too much thought into it:

Not applying to stdlib (typing-only-standard-library-import (TC003)) because:

  • stdlib is not at risk of causing a circular import
  • We can reasonably assume that most stdlib imports will be part of the initial import chain anyway
    • Although I could be wrong, worth checking
  • stdlib imports are clearly not meant as re-exported symbols for the public API

Pull Request Checklist

@Avasam Avasam force-pushed the Enable-flake8-type-checking branch 4 times, most recently from 1b257b7 to 8a21f0f Compare February 10, 2026 02:33
@Avasam Avasam force-pushed the Enable-flake8-type-checking branch from 8a21f0f to 9fe67ac Compare February 10, 2026 02:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant