- Improve diagnostics for failure to call overloaded function (#18073)
- Fix inconsistent casing in
invalid-return-typediagnostic (#18084) - Add type-expression syntax link to
invalid-type-expressiondiagnostics (#18104)
- Infer parameter specializations of explicitly implemented generic protocols (#18054)
- Check assignments to implicit global symbols are assignable to the types declared on
types.ModuleType(#18077) - Fix various generics-related TODOs (#18062)
- Fix rule link in the configuration description (#381)
- Use
https://ty.dev/ruleswhen linking to the rules table (#18072) - Use
ty serverinstead ofty lsp(#360) - Fix missing
>in HTML anchor tags in CLI reference (#18096) - Fix link to rules docs (#378)
- Fix repository in README transform script (#361)
- @dhruvmanila
- @Usul-Dev
- @dcreager
- @AlexWaygood
- @BurntSushi
- @MichaReiser
- @frgfm
- @kiran-4444
- @sharkdp
- @eruditmorina
- Add basic support for non-virtual Python environments (#17991)
- Do not allow invalid virtual environments from discovered
.venvorVIRTUAL_ENV(#18003) - Refine message for why a rule is enabled (#18038)
- Update
--pythonto accept paths to executables in environments (#17954) - Improve diagnostics for
assert_typeandassert_never(#18050) - Add a note to the diagnostic if a new builtin is used on an old Python version (#18068)
- Fix infinite recursion bug in
is_disjoint_from(#18043) - Recognize submodules in self-referential imports (#18005)
- Allow a class to inherit from an intersection if the intersection contains a dynamic type and the intersection is not disjoint from
type(#18055) - Allow classes to inherit from
type[Any]ortype[Unknown](#18060) - Apply function specialization to all overloads (#18020)
- Implement
DataClassInstanceprotocol for dataclasses (#18018) - Induct into instances and subclasses when finding and applying generics (#18052)
- Infer parameter specializations of generic aliases (#18021)
- Narrowing for
hasattr()(#18053) - Silence false positives for PEP-695 ParamSpec annotations (#18001)
- Understand homogeneous tuple annotations (#17998)
__file__is always a string inside a Python module (#18071)
- Avoid initializing progress bars early (#18049)
- @soof-golan
- @ibraheemdev
- @dhruvmanila
- @charliermarsh
- @MichaReiser
- @carljm
- @abhijeetbodas2001
- @zanieb
- @AlexWaygood
- @dcreager
- @mtshiba
- @sharkdp
- Add
--configCLI arg (#17697) - Add CLI documentation and update README (#284)
- Add a warning about pre-release status to the CLI (#17983)
- Add missing bitwise-operator branches for boolean and integer arithmetic (#17949)
- Add progress bar for
ty check(#17965) - Add CLI reference (#17978)
- Change default severity for
unbound-referencetoerror(#17936) - Change range of
revealed-typediagnostic to be the range of the argument passed in, not the whole call (#17980) - Default to latest supported Python version (#17938)
- Display "All checks passed!" message in green (#17982)
- Document configuration schema (#17950)
- Generate and add rules table (#17953)
- Handle type variables that have other type variables as a default (#17956)
- Ignore
possibly-unresolved-referenceby default (#17934) - Implement
globalhandling andload-before-global-declarationsyntax error (#17637) - Make
unused-ignore-commentdisabled by default for now (#17955) - Recognise functions containing
yield fromexpressions as being generator functions (#17930) - Fix stack overflow on recursive protocols (#17929)
- Report duplicate
ProtocolorGenericbase classes with[duplicate-base], not[inconsistent-mro](#17971) - Respect the gradual guarantee when reporting errors in resolving MROs (#17962)
- Support
typing.Selfin methods (#17689) - Support extending
__all__from an imported module even when the module is not anExprNamenode (#17947) - Support extending
__all__with a literal tuple or set as well as a literal list (#17948) - Understand classes that inherit from subscripted
Protocol[]as generic (#17832) - Update ty metadata (#17943)
- Add
py.typed(#276) - Bottom-up improvement of diagnostic messages for union type function calls (#17984)
- Fix more ecosystem/fuzzer panics with fixpoint (#17758)
- Remove
lint:prefix from top-level diagnostic preamble (#17987)