Releases: KotlinIsland/basedmypy
Releases · KotlinIsland/basedmypy
2.10.0
2.9.1
based on mypy 1.14.1
Fixes
- typings for
functools.cacheandoperator.attrgetter
2.9.0
based on mypy 1.14.0
Added
collections.User*should have__repr__
Fixes
- cache modules that only have baseline errors
v2.8.1
2.8.0
2.7.0
based on mypy 1.13.0
Added
- typed
functools.wrapscorrectly - typed
builtins.ellipsis/types.EllipsisTypecorrectly - disable
bytearrayandmemoryviewpromotions by default - support
typing.type_check_only - support default values on type parameters
- support based type notation in type alias statements
- support
basedtyping.FunctionType
Fixes
- fixed crash with
replugin - fixed crash with
Intersectioncache - fixed definition of
types.NoneType
Enhancements
- fixed default configuration in the docs
2.6.0
based on mypy 1.11.1
Added
- Any parameter
_will be inferred asobject(#687) work_not_properly_function_namesmade available to per module configuration (#699)- Support
BASEDMYPY_TYPE_CHECKING(#702) - Enable stub mode within
TYPE_CHECKINGbranches (#702) - Infer from overloads - add default value in impl (#697)
- Warn for missing returns with explicit
Anyreturn types (#715)
Fixes
2.5.0
2.4.0
Based on mypy 1.8.0
2.3.0
Based on mypy 1.7.1
Added
- f-string format specs are checked (#543)
- Narrow type on initial assignment (#547)
- Annotations in function bodies are not analyzed as evaluated (#564)
- Invalid
casts show an error (#573) - Argument names are validated for subtypes (#562)
- Type-guards narrow in the negative (#553)
- Conditional types for asymmetric type-guards (#553)
- Static conditions report an error (#553)
- Regex groups are special-cased (#531)
- f-strings will show an error if the value doesn't define a stringification (#565)
Enhancements
- Show 'narrowed from' in
reveal_type(#550) --color-outputis enabled by default (#531)--idewill disable color-output (#531)- Output lines won't wrap if not connected to a terminal (#531)