Skip to content

v2.4.2

Compare
Choose a tag to compare
@sondrelg sondrelg released this 06 Oct 09:19
· 42 commits to main since this release

What's new

  • perf: Make is_exempt_module work with an iterator by @iurisilvio in #162
  • fix: Annotations inside if TYPE_CHECKING: should not result in TC200 by @Daverball in #165
  • fix: Prevent false positive TC004 when variable name matches name of module in TYPE_CHECKING block by @sondrelg in #161
  • fix: Wrapped annotations with subscripted types should not raise TC201 by @Daverball in #166
  • fix: TC201 should never emit for classes defined in-file by @Daverball in #167

New Contributors

Full Changelog: v2.4.1...v2.4.2