Skip to content

v3.0.0

Latest
Compare
Choose a tag to compare
@Daverball Daverball released this 17 Jan 07:20
· 3 commits to main since this release
5d31ced

Breaking changes

  • The plugin is now more strict about detecting special typing symbols like cast and Annotated, which means re-exports from a different module no longer work without using the new setting type-checking-typing-modules. Refer to the README for usage instructions.
  • Drop Python 3.8 support. Add Python 3.13 support. #197

What's New

  • Add support for singledispatch/singledispatchmethod. #196
  • Add new setting to enforce future imports for all annotations. #200

Bug fixes

  • typing.Annotated should be special-cased like typing.Literal. #193
  • Make sure to visit returns not just the argument annotations. #198
  • Avoid false negatives for TC001-003 related to typing.cast. #199
  • Injector plugin requires all annotations in the injected function. #201

Full Changelog: v2.9.1...v3.0.0