Create your own GitHub profile
Sign up for your own profile on GitHub, the best place to host code, manage projects, and build software alongside 40 million developers.
Sign up
Pro
Pinned
1,297 contributions in the last year
Activity overview
Contribution activity
December 2019
Created a pull request in python/mypy that received 2 comments
Handle empty bodies safely
Fixes #2350 Fixes #8005 The implementation is mostly simple, except overloads are a bit tricky and there is still little unsafety can slip through …
+890
−89
•
2
comments
- Support silencing only some error codes
- Couple obvious optimizations for type aliases
- Don't simplify out ErasedType from unions during type inference
- Properly push scope when checking lambda expressions
- Fix 0.750 regression: union (non-)simplification should not affect inference
- Always freeze type variables that were previously freshen
- Make reachability code understand chained comparisons (v2)
- Fix incorrect name lookup for decorated methods
- Update docs for Literal types
- Tests: run self check and lint in parallel
- Further speed up tests
- Flatten TypeAliasType when it is aliased as a Union
- Simplify default test stubs to speed up tests slightly
- Support partial type inference with += and |=
- Allow 'in' operations with partial types
- Fix bugs where overriding init in a dataclass subclass crashed mypy
- Fix TypedDict is recognized only when imported directly
- Attempt to fix a crash related to partial defaultdict types
- Infer type from "x.extend(y)" where y has type Any (etc.)
- Remove dead code
- Support type inference for defaultdict()
- Fix some daemon crashes involving classes becoming generic
- Actually exclude "__order__" attribute from Enum Union expansion
- Refine testcase and variable usage for "produce error when assigning NamedTuple to attribute"
- [suggest] Fix refine turning Optional[Any] into None
- Inferencing type reference of abstract class inferred from concrete type values
- Fix type inference regression with partial types
- Refactor: remove unused attribute from PartialType