Releases: JelleZijlstra/autotyping
Releases · JelleZijlstra/autotyping
24.9.0
24.3.0
- Add simpler ways to invoke autotyping. Now, it is possible to simply use
python3 -m autotyping
to invoke the tool. (Thanks to Shantanu Jain.) - Drop support for Python 3.7; add support for Python 3.12. (Thanks to Hugo
van Kemenade.) - Infer return types for some more magic methods. (Thanks to Dhruv Manilawala.)
23.3.0
- Fix crash on certain argument names like
iterables
(contributed by
Marco Gorelli)
23.2.0
- Add
--guess-common-names
(contributed by John Litborn) - Fix the
--safe
and--aggressive
flags so they don't take
ignored arguments --length-hint
should returnint
(contributed by Nikita Sobolev)- Fix bug in import adding (contributed by Shantanu)
22.9.0
- Add
--safe
and--aggressive
- Add
--pyanalyze-report
- Do not add
None
return types to methods marked with@abstractmethod
and
to methods in stub files - Improve type inference:
"string" % ...
is alwaysstr
b"bytes" % ...
is alwaysbytes
- An
and
oror
operator where left and right sides are of the same type
returns that type is
,is not
,in
, andnot in
always returnbool
21.12.0
Initial PyPI release