GitHub / python/typing / commits
Python static typing home. Hosts the documentation and a user help forum.
| SHA | Message | Author | Date | Stats |
|---|---|---|---|---|
| 94514b12 | update conformance results for ty==0.0.40 (#2295) |
Alex Waygood <A****d@G****m>
Committed by: GitHub <n****y@g****m> |
5 days ago | |
| a4d23539 | Bump type checker versions in conformance tests. (#2293) |
Rebecca Chen <r****2@g****m>
Committed by: GitHub <n****y@g****m> |
11 days ago | |
| 0e721a33 | Restore intentional typo (Cf. #2290) (#2291) |
Sebastian Rittau <s****u@z****e>
Committed by: GitHub <n****y@g****m> |
13 days ago | |
| 87a2fca6 | Fix typos and grammar in writing stubs guide i.e ``writing_stubs.rst`` (#2290) |
Bhuvansh <b****a@g****m>
Committed by: GitHub <n****y@g****m> |
14 days ago | |
| 187c90b1 | Fix typo and grammar issues in quality guide (#2286) |
Bhuvansh <b****a@g****m>
Committed by: GitHub <n****y@g****m> |
14 days ago | |
| 9cd0a22e | docs: remove unnecessary PEP references in libraries guide (#2288) |
Bhuvansh <b****a@g****m>
Committed by: GitHub <n****y@g****m> |
16 days ago | |
| 3cdfa086 | support conditional fields on TypedDict/NamedTuple/Enum/dataclasses (#2263) |
Carl Meyer <c****l@o****t>
Committed by: GitHub <n****y@g****m> |
16 days ago | |
| c0cc0abb | Docs: Fix typo and grammar in type narrowing guide (#2271) |
Bhuvansh <b****a@g****m>
Committed by: GitHub <n****y@g****m> |
17 days ago | |
| 81b183cd | Update ty results for v0.0.35 (#2282) |
Charlie Marsh <c****h@g****m>
Committed by: GitHub <n****y@g****m> |
22 days ago | |
| 06cc1535 | Add pycroscope to the conformance suite (#2278) |
Jelle Zijlstra <j****a@g****m>
Committed by: GitHub <n****y@g****m> |
30 days ago | |
| 88f58bd5 | Bump type checkers (#2279) |
Jelle Zijlstra <j****a@g****m>
Committed by: GitHub <n****y@g****m> |
30 days ago | |
| 6483940f | Update ty results for v0.0.33 (#2275) |
Charlie Marsh <c****6@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 5a701a03 | conformance: allow consistent treatment of kwargs: Unpack[TD] (#2272) |
Carl Meyer <c****l@o****t>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| d8fb312a | bump mypy and pyright (#2274) |
Jelle Zijlstra <j****a@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| e84def12 | fix pyright version parsing (#2273) |
Jelle Zijlstra <j****a@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 5d4cbb91 |
Allow type checkers to ignore specific error codes (#2153)
Co-authored-by: Carl Meyer <c****l@o****t>, Carl Meyer <c****l@o****t>, Carl Meyer <c****l@o****t>, Carl Meyer <c****l@o****t> |
Dave Halter <d****8@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| cf84b527 | Update pyrefly conformance results to v0.62.0 (#2269) |
Zeina Migeed <m****z@m****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 0e7371da | add ty to scripts/bump_type_checkers.py (#2268) |
Carl Meyer <c****l@o****t>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 71aaf59b | Update ty results for v0.0.32 (#2266) |
Carl Meyer <c****l@o****t>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 322fb100 | Add PEP 800 (disjoint bases) (#2262) |
Jelle Zijlstra <j****a@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 268d0c4e | Update ty results for v0.0.31 (#2261) |
Alex Waygood <A****d@G****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| ba681644 | Update ty results for v0.0.30 (#2260) |
Alex Waygood <A****d@G****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 7349d238 | remove type statement restrictions unsupported by spec or PEP (#2249) |
Carl Meyer <c****l@o****t>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 4c02514f | Conformance suite: fix classes with metaclasses to not fail at runtime (#2258) |
Alex Waygood <A****d@G****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| b90ee6bd | Fix typos in enums.rst (#2257) |
Havmaagen <9****n@u****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| da98cf2e | conformance: add notes about changed mypy behavior in 1.20.0 (#2255) |
Rebecca Chen <r****2@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| c2899351 | conformance: bump type checker versions (#2254) |
Rebecca Chen <r****2@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| d08c0538 | Avoid asserting debatable `super()` behavior in an unrelated test (#2253) |
Carl Meyer <c****l@o****t>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 7bf24098 | fix super().__call__ calls in constructors_call_metaclass (#2252) |
Carl Meyer <c****l@o****t>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 9ba065d1 | Move "Typing PEPs" section into "Specification" (#2245) |
Sebastian Rittau <s****u@z****e>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| c73fa7d3 | Add links to conformance tests & results (#2246) |
sh-at-cs <1****s@u****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| e59dccdc | [make] Link the docs index page instead of the directory (#2244) |
Sebastian Rittau <s****u@z****e>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| fecce0d6 | Update ty results for v0.0.29 (#2239) |
Alex Waygood <A****d@G****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 25e73e50 | conformance: Fix TypeIs Any intersection case (#2236) |
Jelle Zijlstra <j****a@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| ca2a7dbd | Allow more precise inference for TypeVarTuple (#2237) |
Dave Halter <d****8@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| bdd601c6 | update ty conformance results for v0.0.28 (#2235) |
Alex Waygood <A****d@G****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 5677ba6e | conformance: make TypeVarTuple test not depend on TypeVar inference behavior ... |
Jelle Zijlstra <j****a@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 7e32d481 | conformance: do not use input() in LiteralString test (#2233) |
Jelle Zijlstra <j****a@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 56ffa795 | spec: do not mandate inference details around TypeVarTuple (#2203) |
Jelle Zijlstra <j****a@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 859d3d3a | Allow errors for unsound Self definitions on non-final classes (#2221) |
Dave Halter <d****8@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 418094fb | Update ty results for v0.0.27 (#2231) |
Alex Waygood <A****d@G****m>
Committed by: GitHub <n****y@g****m> |
2 months ago | |
| 77dec506 | Add --min-severity=warn to pyrefly command (#2230) |
Rebecca Chen <r****2@g****m>
Committed by: GitHub <n****y@g****m> |
2 months ago | |
| 173483bd | Bump pyrefly and zuban (#2229) |
Jelle Zijlstra <j****a@g****m>
Committed by: GitHub <n****y@g****m> |
2 months ago | |
| 5330f2cf | Update ty results for v0.0.26 (#2228) |
Alex Waygood <A****d@G****m>
Committed by: GitHub <n****y@g****m> |
2 months ago | |
| 755292cd | conformance: Fix questionable assert_type() with known class (#2226) |
Jelle Zijlstra <j****a@g****m>
Committed by: GitHub <n****y@g****m> |
2 months ago | |
| ea6a8cbb | conformance suite: do not assert questionable behavior with enums (#2223) |
Jelle Zijlstra <j****a@g****m>
Committed by: GitHub <n****y@g****m> |
2 months ago | |
| 1df1565c | `protocols_runtime_checkable.py`: change a multiline `isinstance()` call to b... |
Alex Waygood <A****d@G****m>
Committed by: GitHub <n****y@g****m> |
3 months ago | |
| 81e4a704 | Update ty results for v0.0.22 (#2218) |
Alex Waygood <A****d@G****m>
Committed by: GitHub <n****y@g****m> |
3 months ago | |
| 62491d5c | Update pyrefly conformance results to v0.56.0 (#2217) |
Zeina Migeed <m****z@m****m>
Committed by: GitHub <n****y@g****m> |
3 months ago | |
| a1bbdf2a | Fix two tiny bugs in the conformance suite (#2216) |
Alex Waygood <A****d@G****m>
Committed by: GitHub <n****y@g****m> |
3 months ago | |
| e6b1896b | `literals_interactions.py`: do not mandate optional narrowing behaviour from ... |
Alex Waygood <A****d@G****m>
Committed by: GitHub <n****y@g****m> |
3 months ago | |
| b6411faf | Add TypeForm (PEP 747) to the spec and conformance suite (#2183) |
Jelle Zijlstra <j****a@g****m>
Committed by: GitHub <n****y@g****m> |
3 months ago | |
| a8ec0a7d | Update dataclass definitions in `protocols_definition.py` to not fail at clas... |
Alex Waygood <A****d@G****m>
Committed by: GitHub <n****y@g****m> |
3 months ago | |
| 22d9392a | Add conformance results invariant validator (#2205) |
Jelle Zijlstra <j****a@g****m>
Committed by: GitHub <n****y@g****m> |
3 months ago | |
| a014f3a4 | conformance: Do not mandate Literal promotion in generics (#2206) |
Jelle Zijlstra <j****a@g****m>
Committed by: GitHub <n****y@g****m> |
3 months ago | |
| d08f800f |
Add conformance results for ty (#2208)
Co-authored-by: Carl Meyer <c****l@o****t> |
Alex Waygood <A****d@G****m>
Committed by: GitHub <n****y@g****m> |
3 months ago | |
| 7f8f6bbc |
Conformance suite: rewrite `directives_version_platform.py` to not assume tha...
Co-authored-by: Carl Meyer <c****l@o****t> |
Alex Waygood <A****d@G****m>
Committed by: GitHub <n****y@g****m> |
3 months ago | |
| 56b7944b | Conformance suite: rewrite several tests regarding type-parameter defaults to... |
Alex Waygood <A****d@G****m>
Committed by: GitHub <n****y@g****m> |
3 months ago | |
| 5b5f2f89 |
Extend conformance tests for dataclass hashability (#2201)
Co-authored-by: Jelle Zijlstra <j****a@g****m> |
Alex Waygood <A****d@G****m>
Committed by: GitHub <n****y@g****m> |
3 months ago | |
| 40b929c0 | Add version locking and CI for the conformance suite (#2200) |
Jelle Zijlstra <j****a@g****m>
Committed by: GitHub <n****y@g****m> |
3 months ago | |
| 6b1a64cf |
Allow type checkers to infer more precise types for tuples (#2194)
Co-authored-by: Alex Waygood <A****d@G****m> |
Dave Halter <d****8@g****m>
Committed by: GitHub <n****y@g****m> |
3 months ago | |
| e9fccc9d | Conformance suite: update `generics_upper_bound.py` to not assume that `[1, 2... |
Alex Waygood <A****d@G****m>
Committed by: GitHub <n****y@g****m> |
3 months ago | |
| 80c55d2b | conformance: allow emitting an error on missing return with Any annotation (#... |
Jelle Zijlstra <j****a@g****m>
Committed by: GitHub <n****y@g****m> |
3 months ago | |
| 6838a5fb | Conformance tests: change another empty body to `raise NotImplementedError` (... |
Alex Waygood <A****d@G****m>
Committed by: GitHub <n****y@g****m> |
3 months ago | |
| e122f696 | Fix typo in writing_stubs.rst documentation (#2195) |
Timothée Mazzucotelli <d****v@p****r>
Committed by: GitHub <n****y@g****m> |
3 months ago | |
| 4617cb99 | conformance: fix unrelated error in annotations_generators.py (#2190) |
Jelle Zijlstra <j****a@g****m>
Committed by: GitHub <n****y@g****m> |
3 months ago | |
| 147bd1a3 | Fix minor grammatical issue in `generics_syntax_infer_variance` non-conforman... |
Nathan McDougall <n****l@g****m>
Committed by: GitHub <n****y@g****m> |
3 months ago | |
| 21b07859 |
Fix incorrect type name in TypedDict extra_items assignment test (#2184)
Co-authored-by: Jelle Zijlstra <j****a@g****m> |
Azim Akhmadjonov <1****r@u****m>
Committed by: GitHub <n****y@g****m> |
3 months ago | |
| 4cd52c12 | Conformance: another update to `LiteralString` tests (#2186) |
David Peter <s****p@u****m>
Committed by: GitHub <n****y@g****m> |
3 months ago | |
| 294a3543 |
Conformance suite: Minor tweaks to several assertions for better compatibilit...
Co-authored-by: Rebecca Chen <r****2@g****m>, Rebecca Chen <r****2@g****m> |
Alex Waygood <A****d@G****m>
Committed by: GitHub <n****y@g****m> |
3 months ago | |
| a26f3457 | Conformance: minor update to `LiteralString` tests (#2179) |
David Peter <s****p@u****m>
Committed by: GitHub <n****y@g****m> |
3 months ago | |
| 3fe255ec | Update conformance results for pyrefly 0.53.0 and zuban 0.5.1. (#2180) |
Rebecca Chen <r****2@g****m>
Committed by: GitHub <n****y@g****m> |
3 months ago | |
| e54f81b1 | Conformance tests: fix minor comment typo in `typeddicts_extra_items.py` (#2181) |
Aslan <m****v@g****m>
Committed by: GitHub <n****y@g****m> |
3 months ago | |
| ffd520ac | Do not mandate a specific dead code policy in `NoReturn` conformance test (#2... |
Zeina Migeed <m****z@m****m>
Committed by: GitHub <n****y@g****m> |
4 months ago | |
| 61123827 | Clarify that `tuple` should not be prohibited as an argument to `type` (#2146) |
Fangyi Zhou <m****e@f****o>
Committed by: GitHub <n****y@g****m> |
4 months ago | |
| 5587f776 | Allow protocol variance errors at usage site or class definition (#2172) |
Zeina Migeed <m****z@m****m>
Committed by: GitHub <n****y@g****m> |
4 months ago | |
| f98d75eb | [conformance suite] Update an assertion in `historical_positional.py` to allo... |
Alex Waygood <A****d@G****m>
Committed by: GitHub <n****y@g****m> |
4 months ago | |
| b73e3aa6 | Fix typo (#2168) |
Daniel Sperber <g****y@9****t>
Committed by: GitHub <n****y@g****m> |
4 months ago | |
| 08f929ba | [conformance suite] Fix inaccurate comment in `protocols_generic.py` (#2166) |
Alex Waygood <A****d@G****m>
Committed by: GitHub <n****y@g****m> |
4 months ago | |
| 444e43e3 | Clarify that variadic positional parameters can be expressed with Callable (#... |
Daniel Sperber <g****y@9****t>
Committed by: GitHub <n****y@g****m> |
4 months ago | |
| 63087979 | Accept reversed dataclass field-order warning (#2152) |
Azim Akhmadjonov <1****r@u****m>
Committed by: GitHub <n****y@g****m> |
4 months ago | |
| f289ccfb | Update `Color` enum in `overloads_evaluation.py` to have >1 member (#2165) |
Alex Waygood <A****d@G****m>
Committed by: GitHub <n****y@g****m> |
4 months ago | |
| b40321ce | Update conformance test results. (#2160) |
Rebecca Chen <r****2@g****m>
Committed by: GitHub <n****y@g****m> |
4 months ago | |
| 20096eeb | Add disclaimer to conformance results (#2155) |
Shantanu <1****a@u****m>
Committed by: GitHub <n****y@g****m> |
4 months ago | |
| dece44f2 | Pass most conformance tests for Zuban (#2139) |
Dave Halter <d****8@g****m>
Committed by: GitHub <n****y@g****m> |
5 months ago | |
| 48945fa6 |
Use `pyproject.toml` instead of `setup.py` (#2138)
Co-authored-by: hauntsaninja <h****a@g****m> |
konsti <k****n@m****g>
Committed by: GitHub <n****y@g****m> |
5 months ago | |
| 211b0cb5 | Update conformance suite to avoid unsound empty bodies (#2134) |
Shantanu <1****a@u****m>
Committed by: GitHub <n****y@g****m> |
6 months ago | |
| f6204ef8 | Update conformance suite results (#2133) |
Shantanu <1****a@u****m>
Committed by: GitHub <n****y@g****m> |
6 months ago | |
| 77bbb7e7 | Bump actions/checkout from 5 to 6 in the actions group (#2122) |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
6 months ago | |
| 3590634d | Update conformance results for pyrefly 0.43.1 and zuban 0.2.3. (#2120) |
Rebecca Chen <r****2@g****m>
Committed by: GitHub <n****y@g****m> |
6 months ago | |
| 81214ce7 | Restore a missing TypedDict subtyping requirement (#2119) |
Jack O'Connor <o****3@g****m>
Committed by: GitHub <n****y@g****m> |
6 months ago | |
| d7bc355a | constructors_callable: fix a type hint in comments (#2117) |
Fangyi Zhou <m****e@f****o>
Committed by: GitHub <n****y@g****m> |
6 months ago | |
| 953e24d7 | Best Practices: Split an example (#2114) |
Sebastian Rittau <s****u@z****e>
Committed by: GitHub <n****y@g****m> |
6 months ago | |
| 89c74e36 | Add two missing places where type expressions occur (#2110) |
Jelle Zijlstra <j****a@g****m>
Committed by: GitHub <n****y@g****m> |
7 months ago | |
| 111aece5 | don't assert type on invalid type expressions (#2111) |
Carl Meyer <c****l@o****t>
Committed by: GitHub <n****y@g****m> |
7 months ago | |
| 9f6d8ced | Update Pyrefly results for v0.38.0 & fix error parsing (#2107) |
Danny Yang <y****7@u****m>
Committed by: GitHub <n****y@g****m> |
7 months ago | |
| aabc9d8c | Update Modernizing document for Python 3.14 (#2106) |
Sebastian Rittau <s****u@z****e>
Committed by: GitHub <n****y@g****m> |
7 months ago | |
| 5d0e6f83 | Fix code block on NamedTuple doc (#2103) |
Danny Yang <y****7@u****m>
Committed by: GitHub <n****y@g****m> |
8 months ago | |
| a9173dcf | Add ty and Zuban to the list of type checkers that exist (#2102) |
Alex Waygood <A****d@G****m>
Committed by: GitHub <n****y@g****m> |
8 months ago | |
| b07429d3 | Fix pyrefly URL in index.rst (#2101) |
Jean Hominal <j****l@g****m>
Committed by: GitHub <n****y@g****m> |
8 months ago |