Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/python/mypy
Optional static typing for Python
https://github.com/python/mypy
5b4ffa99499177430470a08ab27c48d9ca04bac4 authored almost 3 years ago by Marc Mueller <[email protected]>
Fixes #11045, fixes https://github.com/huggingface/transformers/issues/13390
Fixes #10488
Fixe...
mypy attracts a lot of (usually student) first-time contributors who
tend to comment on issue...
eef316d65bf583b081f0101cdafbef3ecc353acc authored almost 3 years ago by Kenny Stauffer <[email protected]>
554606bf2b54e6487d0f5d622ed4eb6281fd50de authored almost 3 years ago by Tuomas Siipola <[email protected]>
777885f2c26cce195f6d23c80fefae1e66dfaac2 authored almost 3 years ago by Alex Waygood <[email protected]>
Fixes #12179
cd3dfbd0e387f23127998df2c71231d0fee5e692 authored almost 3 years ago by Shantanu <[email protected]>Co-authored-by: hauntsaninja <>
595fec99b36e2d18a57f11a355f161d69b0e5679 authored almost 3 years ago by Shantanu <[email protected]>* Add `match_args` support to `attr.s()`
* Improve wording
* Serialize `__match_args__`
...
5b9318dcf069e08a1e240cc1ae1b40baca6ad577 authored almost 3 years ago by Nikita Sobolev <[email protected]>129dba468c235fbdc01f608736554061368bcff3 authored almost 3 years ago by 97littleleaf11 <[email protected]>
Fixes #11509
84696ceeec978e569ca702f4868bb54ba47b97f3 authored almost 3 years ago by Peter Law <[email protected]>6ff8091dff1493aed1ae951934384d9e977bbc5f authored almost 3 years ago by Jelle Zijlstra <[email protected]>
Might help with breaking changes that result from #9636
Co-authored-by: hauntsaninja <>
234344b4879361694ca191a8d06f0847191b9508 authored almost 3 years ago by Shantanu <[email protected]>37d58c310a0bf79f7635cf4fc2f6a491c7ee9683 authored almost 3 years ago by Nikita Sobolev <[email protected]>
Improvements to typeshed types using literals should have rendered this
unnecessary.
872c03da11b7e8a11c724e337577b2233573b3b3 authored almost 3 years ago by Nikita Sobolev <[email protected]>
1ccefbdff922b502637009a77632a2be10256297 authored almost 3 years ago by Nikita Sobolev <[email protected]>
48dc990427d3619c107f193757a3ce735e9ca409 authored almost 3 years ago by Nikita Sobolev <[email protected]>
26fdd456b7e665c3c0f161234ee48b9e6144940d authored almost 3 years ago by Nikita Sobolev <[email protected]>
04cac4b5d911c4f9529e6ce86a27b44f28846f5d authored almost 3 years ago by Joshua Cannon <[email protected]>
84b977876aa76bfebf5fe49d11ebd202e4a60a33 authored almost 3 years ago by Jelle Zijlstra <[email protected]>
c0e49abcf27ff59e761f3ec06a24ee94e700464d authored almost 3 years ago by Dominic Davis-Foster <[email protected]>
3b331b30049bb085485b8aa7c1fe34064cab927e authored almost 3 years ago by Alex Waygood <[email protected]>
080bb0e04e9d5c4d2513621d1fb62f1d61a573e9 authored almost 3 years ago by Akuli <[email protected]>
As discussed in #11895, mypy's test suite currently does not pass a mypy self-check when run on ...
8f9ebf04cd1cd04dc0a7ec6e66024776b3987f17 authored almost 3 years ago by Alex Waygood <[email protected]>ace9f25afecbf625be3fba1ebeba189e1149cf62 authored almost 3 years ago by Akuli <[email protected]>
* Forbid extra `ParamSpec` arguments
* Change error message
7af46ceaf479a458d6409884fceae9a9ee51b582 authored almost 3 years ago by Nikita Sobolev <[email protected]>
Source commit:
https://github.com/python/typeshed/commit/9116b2928d63632cb9c9526b18d1ffafaf5baf...
Closes #12062
Addresses feedback in #12066
e2852039bafaf0d7463623dd5410c02797eae21b authored almost 3 years ago by KotlinIsland <[email protected]>
Brings INI and TOML examples in line as noted.
a825c15bce10caf10e7a468e94571abeee77b69c authored almost 3 years ago by Matt Bogosian <[email protected]>Co-authored-by: Mehdi Drissi <[email protected]>
d5d077bbc684e5d9aabb6ac9d9c10e393efc37aa authored almost 3 years ago by Mehdi Drissi <[email protected]>
If we change the error code of a message, it can result in existing
"type: ignore" comments bei...
Make the join of a union type and Any commutative.
Previously the result depended on the order ...
When we erase last known values in an union with multiple
Instance types, make sure that the re...
As far as I can tell, the nugget exposed by this commit lives only in PEP 544. This
copies that...
Fixes #10189
Produce an error when encountering a yield expression (both `yield` and `yield f...
619d9bdf7ae70ce953f1a10aebccfdc3526b7200 authored almost 3 years ago by Alexandre Bouayad <[email protected]>6d243321d632c47b9fef5f2ad6a972f9f4b94eff authored almost 3 years ago by Shantanu <[email protected]>
0cec4f7a2e2c569b28f0ced916edd57903e57b7a authored almost 3 years ago by Nikita Sobolev <[email protected]>
This should fix wheel builds. Our CI always targets Python 3.6
when doing a self check, which m...
Fixes #11850
0a03ba0d11136647ac74dc5fceac9b2cceb1f673 authored almost 3 years ago by Nikita Sobolev <[email protected]>
There are several discussions and comments describing the following problem
(references can be...
9b3147701f054bf8ef42bd96e33153b05976a5e1 authored almost 3 years ago by Nikita Sobolev <[email protected]>
5918919629cdf78eec2ffafa4257321eb2e2cfd3 authored almost 3 years ago by Jukka Lehtosalo <[email protected]>
9b63751819d040fd78b8f37fac14e2fff6b927bc authored almost 3 years ago by Adrian Freund <[email protected]>
Dataclasses that inherit from Any (actually another type that we don't
know) should assume an (...
* Clarify stub-only packages need to be installed
* Add link to PEP 561
9943444c777d829cd1595d043baa883d9407971d authored almost 3 years ago by Brian Phillips <[email protected]>
Allows PlaceholderNode objects before raising an error for the attempted
reuse of a member name...
17850b3bd77ae9efb5d21f656c4e4e05ac48d894 authored almost 3 years ago by Nikita Sobolev <[email protected]>
a0234fabd0064d235f0700d62c3a7999874b8356 authored almost 3 years ago by Nikita Sobolev <[email protected]>
See python/typeshed#6801.
fa16759dc37fa313a2a607974d51d161c8ba5ea6 authored almost 3 years ago by Jelle Zijlstra <[email protected]>0bc040eddfd90d5c0e7a22f00cbaa51d209ebbef authored almost 3 years ago by Chris Keefe <[email protected]>
Previously we only raised it for refcounted types, potentially resulting in
errors like this:
...
This fix allows using enum values in place of literals.
For example:
```
def is_a(a: Lite...
9ea6d928646f823af0bb646cca0aba26be7e1107 authored almost 3 years ago by Nikita Sobolev <[email protected]>
If we switch true/false branches, we also need to switch between
likely/unlikely.
This has a...
41a79348d7b6d9c4b38f59aedadc9812c0732731 authored almost 3 years ago by Jukka Lehtosalo <[email protected]>f6ebf108f76d3c2af0a2245c4abbad302b476141 authored almost 3 years ago by Nikita Sobolev <[email protected]>
Co-authored-by: Jelle Zijlstra <[email protected]>
6ea7cfa9de21eb0ae363257b1b2e5435b1ec4bce authored about 3 years ago by Nikita Sobolev <[email protected]>PR #11543 changed the `formal_arguments` method to return a list of formal arguments instead o...
25b212990faed11993d49e822d50a0a88e10c959 authored about 3 years ago by Mark Bell <[email protected]>c0c86d072d39fc2d217db57a0ca9ded84843d29b authored about 3 years ago by Nikita Sobolev <[email protected]>
This speeds up the deltablue benchmark by 15%.
378119fb0ce7cb6133eeccd4de236a330cc8e10e authored about 3 years ago by Jukka Lehtosalo <[email protected]>
I don't know that these have caught any real issues in the last couple
years, however, the stan...
254d41e10a353612d5edfdcb8b23b8e90508830b authored about 3 years ago by Tin Tvrtković <[email protected]>
Related #8219
Co-authored-by: Jingchen Ye <[email protected]>
f5ac47fdf5add3f55864949df3b80b1271de8df2 authored about 3 years ago by Vincent Perez <[email protected]>
It shouldn't be used for new code, but adding it back makes it
unnecessary to update existing p...
Co-authored-by: hauntsaninja <>
e40877d4306787acb15985888e1f33ad4bdd9912 authored about 3 years ago by Nikita Sobolev <[email protected]>
Closes #11913
Refs #11273
Co-authored-by: Shantanu <[email protected]...
a0f27b1d1f21bc6c7502374c3a1e2b642758a4bb authored about 3 years ago by Nikita Sobolev <[email protected]>55bee20f5c73b4a3868f2c350c608cd4ea67bd05 authored about 3 years ago by Nikita Sobolev <[email protected]>
Closes #11705
e8cf960e8579e5cee2db27212efad4870e5106bd authored about 3 years ago by Nikita Sobolev <[email protected]>Fixes #11859
Co-authored-by: hauntsaninja <>
e0a89b75fbefc48bb82c924979a8e1c52d65818e authored about 3 years ago by Shantanu <[email protected]>ce4211618809835a25330f95443a9c06766be197 authored about 3 years ago by Nikita Sobolev <[email protected]>
37886c74fe8b0a40e6427361f3dcb3a9d0d82751 authored about 3 years ago by Nikita Sobolev <[email protected]>
edbc2484d0e6183dc34d2f5d0578b06d773e02e5 authored about 3 years ago by Nikita Sobolev <[email protected]>
Co-authored-by: hauntsaninja <>
27d2c2212547f137ade8b2098902a8c80ca82f78 authored about 3 years ago by Shantanu <[email protected]>Resolves #11852
06afa7cca3b04cc32e5684f0344a6138c7dfa918 authored about 3 years ago by Anthony Sottile <[email protected]>
When debugging #11887 I realised `can_be_type_alias` can do non-trivial
amounts of work. It's u...
Partially reverts #11329 (with respect to `.ini` documentation).
Modifies existing unit tests.
...
Multiple regexes are expressed as a sequence.
Fixes #11825.
Co-authored-by: Matthew W <mat...
246c9ee7fe1990def9bf3435bf42ef9f201bc0ef authored about 3 years ago by Matt Bogosian <[email protected]>editorconfig was added in #11883 and broke check-manifest in https://github.com/mypyc/mypy_mypyc...
2676cd804d0a72eb3fb9282879a8e426a851969b authored about 3 years ago by Shantanu <[email protected]>b0c44617426acaaba759b9ad9d3c03d9a237d2af authored about 3 years ago by James Braza <[email protected]>
6330a41bc396b0137576e0826be3c03343600c4a authored about 3 years ago by Nikita Sobolev <[email protected]>
Co-authored-by: hauntsaninja <>
229913e8e31ee2889ad3e2a3f85ffe82b29fa198 authored about 3 years ago by Shantanu <[email protected]>1beed9af48bed07033490f8cf2d4e08229450c5f authored about 3 years ago by Nikita Sobolev <[email protected]>
ef07896184fd440f826187f1a98ca2bf50b137b4 authored about 3 years ago by Oliver Newman <[email protected]>
Co-authored-by: KotlinIsland <[email protected]>
dec07872d1d5221c571ed6e7346d6308daf71c18 authored about 3 years ago by KotlinIsland <[email protected]>
Closes #11821
Closes #11827
Resolves #11856
Co-authored-by: hauntsaninja <>
0390485f9732f4d1d7680810c8eff250dba83ba0 authored about 3 years ago by Shantanu <[email protected]>Fixes #11706
Co-authored-by: hauntsaninja <>
d168b6d091de63995bcdb796085b48dec1292f98 authored about 3 years ago by Shantanu <[email protected]>b6c8f0358c2079c9c10bf0fbda1598ed2b18e60b authored about 3 years ago by Nikita Sobolev <[email protected]>
Follow up to #11872
The cross repo split makes this a bit of a pain to test.
Co-authored-by:...
021ac8a9460c5f667e3683e3da71848814eddaba authored about 3 years ago by Shantanu <[email protected]>Co-authored-by: hauntsaninja <>
22d4f1d2356f3858e2de8244531937ab85cac44a authored about 3 years ago by Shantanu <[email protected]>Fixes https://github.com/mypyc/mypyc/issues/912
Co-authored-by: Shantanu <12621235+hauntsanin...
fe3b625224d0246c90c2a2bca6f293a4586642e9 authored about 3 years ago by Michael R. Crusoe <[email protected]>
Previously variadic tuples were displayed as `builtins.tuple[T]`, which
is misleading. That syn...
This should catch https://github.com/mypyc/mypyc/issues/912
We never ran mypyc tests against wh...
8d37a8ba5ce994d775ff0c7d5e06c469fb6effc1 authored about 3 years ago by Nikita Sobolev <[email protected]>
1cd6dc9bb34958d086c3cd69676c89295bfb164a authored about 3 years ago by Nikita Sobolev <[email protected]>
Improve consistency, grammar, formatting and clarity in the documentation. Also
some minor cont...
allows the definition of "_" as function in builtins (e.g via typeshed).
fixes #9802
9d5ef72068943e415082c848b74ff4fad9293080 authored about 3 years ago by StefanM-TT <[email protected]>e7212817aaf2ebfc463f27a12eb1ff1851930cb3 authored about 3 years ago by Nikita Sobolev <[email protected]>