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

Deduplicate error codes for `ignore-without-code` (#12194)

5b4ffa99499177430470a08ab27c48d9ca04bac4 authored almost 3 years ago by Marc Mueller <[email protected]>
Fix crashes in class scoped imports (#12023)

Fixes #11045, fixes https://github.com/huggingface/transformers/issues/13390
Fixes #10488
Fixe...

1de5e55fff22b023d54aa700d630befd162db20e authored almost 3 years ago by Shantanu <[email protected]>
CONTRIBUTING.md: more words for first-time contributors (#12193)

mypy attracts a lot of (usually student) first-time contributors who
tend to comment on issue...

84aaef5caea0bd0fdb0e9d0ac5c1e850611b22fd authored almost 3 years ago by Shantanu <[email protected]>
Understand the self-destructing nature of Enum._ignore_ (#12128)

eef316d65bf583b081f0101cdafbef3ecc353acc authored almost 3 years ago by Kenny Stauffer <[email protected]>
Suggest `typing.Any` when using `any` as type (#12185)

554606bf2b54e6487d0f5d622ed4eb6281fd50de authored almost 3 years ago by Tuomas Siipola <[email protected]>
stubtest: enable checking pos-only differences in dunders (#12184)

777885f2c26cce195f6d23c80fefae1e66dfaac2 authored almost 3 years ago by Alex Waygood <[email protected]>
Fix use of TypeAlias from aliased imports (#12180)

Fixes #12179

cd3dfbd0e387f23127998df2c71231d0fee5e692 authored almost 3 years ago by Shantanu <[email protected]>
Fix CI (#12181)

Co-authored-by: hauntsaninja <>

595fec99b36e2d18a57f11a355f161d69b0e5679 authored almost 3 years ago by Shantanu <[email protected]>
Add `match_args` support to `attr.s()` (#12111)

* Add `match_args` support to `attr.s()`

* Improve wording

* Serialize `__match_args__`

...

5b9318dcf069e08a1e240cc1ae1b40baca6ad577 authored almost 3 years ago by Nikita Sobolev <[email protected]>
Update CREDITS (#12018)

129dba468c235fbdc01f608736554061368bcff3 authored almost 3 years ago by 97littleleaf11 <[email protected]>
Add an option to require ignore comments have error codes (#11633)

Fixes #11509

84696ceeec978e569ca702f4868bb54ba47b97f3 authored almost 3 years ago by Peter Law <[email protected]>
Add support for Never (#12153)

6ff8091dff1493aed1ae951934384d9e977bbc5f authored almost 3 years ago by Jelle Zijlstra <[email protected]>
Mention common resolutions for build errors (#12154)

Might help with breaking changes that result from #9636

Co-authored-by: hauntsaninja <>

234344b4879361694ca191a8d06f0847191b9508 authored almost 3 years ago by Shantanu <[email protected]>
Add `StrEnum` support for Python 3.11 (#12035)

37d58c310a0bf79f7635cf4fc2f6a491c7ee9683 authored almost 3 years ago by Nikita Sobolev <[email protected]>
Delete `open` plugin (#9275)

Improvements to typeshed types using literals should have rendered this
unnecessary.

06475709ded9480220004c2bdfcb86287f7f3d34 authored almost 3 years ago by Shantanu <[email protected]>
Sync `mypy_primer_comment` with `typeshed` (#12136)

872c03da11b7e8a11c724e337577b2233573b3b3 authored almost 3 years ago by Nikita Sobolev <[email protected]>
Improve `.editorconfig` to include `.test` files (#12133)

1ccefbdff922b502637009a77632a2be10256297 authored almost 3 years ago by Nikita Sobolev <[email protected]>
Sync `mypy_primer_comment` with `typeshed` (#12125)

48dc990427d3619c107f193757a3ce735e9ca409 authored almost 3 years ago by Nikita Sobolev <[email protected]>
Update mypy_primer_comment.yml

26fdd456b7e665c3c0f161234ee48b9e6144940d authored almost 3 years ago by Nikita Sobolev <[email protected]>
[mypyc] Add helpful message to assert (#12119)

04cac4b5d911c4f9529e6ce86a27b44f28846f5d authored almost 3 years ago by Joshua Cannon <[email protected]>
add support for typing.reveal_type (#12117)

84b977876aa76bfebf5fe49d11ebd202e4a60a33 authored almost 3 years ago by Jelle Zijlstra <[email protected]>
Read pyproject.toml with correct encoding on Windows (#12105)

c0e49abcf27ff59e761f3ec06a24ee94e700464d authored almost 3 years ago by Dominic Davis-Foster <[email protected]>
Fix "Implicit type aliases not recognised with PEP 604 + import cycles" (but only for stubs) (#11915)

3b331b30049bb085485b8aa7c1fe34064cab927e authored almost 3 years ago by Alex Waygood <[email protected]>
stubtest: error if a class should be decorated with @final (#12091)

080bb0e04e9d5c4d2513621d1fb62f1d61a573e9 authored almost 3 years ago by Akuli <[email protected]>
Run self-check on Windows as part of CI (#11909)

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]>
Delete workarounds for fixed typeshed bugs (#12093)

ace9f25afecbf625be3fba1ebeba189e1149cf62 authored almost 3 years ago by Akuli <[email protected]>
Forbid extra `ParamSpec` arguments (#12024)

* Forbid extra `ParamSpec` arguments

* Change error message

7af46ceaf479a458d6409884fceae9a9ee51b582 authored almost 3 years ago by Nikita Sobolev <[email protected]>
Sync typeshed (#11905)

Source commit:
https://github.com/python/typeshed/commit/9116b2928d63632cb9c9526b18d1ffafaf5baf...

e266cdf04f7ded2ee2da89b5912402df52a8e254 authored almost 3 years ago by Shantanu <[email protected]>
stubtest: use VERSIONS for submodules (#12083)

Closes #12062
Addresses feedback in #12066

b36d8cf5d4d0bb77c5a8cf783ba4def16cd9846a authored almost 3 years ago by Shantanu <[email protected]>
[docs] add more info to allow_redefinition (#11951)

e2852039bafaf0d7463623dd5410c02797eae21b authored almost 3 years ago by KotlinIsland <[email protected]>
Fix error in `exclude` section (#12078)

Brings INI and TOML examples in line as noted.

a825c15bce10caf10e7a468e94571abeee77b69c authored almost 3 years ago by Matt Bogosian <[email protected]>
Fix crash involving explicit any flag and Required (#12039)

Co-authored-by: Mehdi Drissi <[email protected]>

d5d077bbc684e5d9aabb6ac9d9c10e393efc37aa authored almost 3 years ago by Mehdi Drissi <[email protected]>
Add note about wrong error code in type: ignore (#12067)

If we change the error code of a message, it can result in existing
"type: ignore" comments bei...

99f4d5af147d364eda1d4b99e79770c171896f13 authored almost 3 years ago by Jukka Lehtosalo <[email protected]>
Fix join of Any against a union type (#12068)

Make the join of a union type and Any commutative.
Previously the result depended on the order ...

fb94f80dfc75e54b68a1819213cee553d3b41eee authored almost 3 years ago by Jukka Lehtosalo <[email protected]>
Simplify unions when erasing last known values (#12064)

When we erase last known values in an union with multiple
Instance types, make sure that the re...

36804497279809675fd4651eefb023aad4918efa authored almost 3 years ago by Jukka Lehtosalo <[email protected]>
Explain generic `Protocol[T1, T2, ...]` shorthand in Mypy docs (#12047)

As far as I can tell, the nugget exposed by this commit lives only in PEP 544. This
copies that...

af366c0d53b3cfe1bed1baba4e2869460276eb81 authored almost 3 years ago by Matt Bogosian <[email protected]>
Fix crash with yield in comprehension (#12048)

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]>
stubtest: treat dicts as a subtype of typeddict (#12040)

6d243321d632c47b9fef5f2ad6a972f9f4b94eff authored almost 3 years ago by Shantanu <[email protected]>
Microrefactoring: removed useless var from `meet.py` (#12025)

0cec4f7a2e2c569b28f0ced916edd57903e57b7a authored almost 3 years ago by Nikita Sobolev <[email protected]>
Fix self-check when targeting Python 3.10 (#12020)

This should fix wheel builds. Our CI always targets Python 3.6
when doing a self check, which m...

bb4b5346dd5d1a6f8e1642024bb04d5250118b50 authored almost 3 years ago by Jukka Lehtosalo <[email protected]>
Move `final` detection for `Enum` in `checker.py` (#11984)

Fixes #11850

0a03ba0d11136647ac74dc5fceac9b2cceb1f673 authored almost 3 years ago by Nikita Sobolev <[email protected]>
Fix handling of NoReturn in Union return types (#11996)

There are several discussions and comments describing the following problem
(references can be...

002e3091b54757161ef4339edc22a376db12649d authored almost 3 years ago by Jannic Warken <[email protected]>
Fix CI by disabling it on 3.11 (#12003)

9b3147701f054bf8ef42bd96e33153b05976a5e1 authored almost 3 years ago by Nikita Sobolev <[email protected]>
Fix failing match statement tests (#12007)

5918919629cdf78eec2ffafa4257321eb2e2cfd3 authored almost 3 years ago by Jukka Lehtosalo <[email protected]>
Support for python 3.10 match statement (#10191)

9b63751819d040fd78b8f37fac14e2fff6b927bc authored almost 3 years ago by Adrian Freund <[email protected]>
Fix __init__ in Dataclasses inheriting from Any (#11966)

Dataclasses that inherit from Any (actually another type that we don't
know) should assume an (...

1aa9cf91c15706bff00f5d9a953481b36fcf9b9a authored almost 3 years ago by joey-laminar <[email protected]>
Clarify stub-only packages need to be installed (#9958)

* Clarify stub-only packages need to be installed
* Add link to PEP 561

5f39f5db4c936e74a5b32fe690402eb9235493d5 authored almost 3 years ago by Gustav Gränsbo <[email protected]>
Add no-overload-impl error code (#11944)

9943444c777d829cd1595d043baa883d9407971d authored almost 3 years ago by Brian Phillips <[email protected]>
Fix #11971 (#11972)

Allows PlaceholderNode objects before raising an error for the attempted
reuse of a member name...

2bfa3b48e671f461b9d9ad9e49dcb83c31bade37 authored almost 3 years ago by Max Rossmannek <[email protected]>
Microrefactoring: `py_version <= 2` should be `py_version == 2` (#11986)

17850b3bd77ae9efb5d21f656c4e4e05ac48d894 authored almost 3 years ago by Nikita Sobolev <[email protected]>
Add 3.11-dev to CI (#11677)

a0234fabd0064d235f0700d62c3a7999874b8356 authored almost 3 years ago by Nikita Sobolev <[email protected]>
Ignore more exceptions in stubtest (#11946)

See python/typeshed#6801.

fa16759dc37fa313a2a607974d51d161c8ba5ea6 authored almost 3 years ago by Jelle Zijlstra <[email protected]>
DOC: Fixes Intelligent indexing example (#11973)

0bc040eddfd90d5c0e7a22f00cbaa51d209ebbef authored almost 3 years ago by Chris Keefe <[email protected]>
[mypyc] Raise AttributeError also for non-refcounted types (#11940)

Previously we only raised it for refcounted types, potentially resulting in
errors like this:
...

6c1eb5b36b83ecf959a50100d282ca86186f470f authored almost 3 years ago by Jukka Lehtosalo <[email protected]>
Make enum values final - fixes #11919 (#11962)

This fix allows using enum values in place of literals.

For example:

```
def is_a(a: Lite...

48d810d5ed25f898d4f220a7476b6b267c289b9a authored almost 3 years ago by joey-laminar <[email protected]>
Refactor `is_named_instance` and `refers_to_fullname` (#11961)

9ea6d928646f823af0bb646cca0aba26be7e1107 authored almost 3 years ago by Nikita Sobolev <[email protected]>
[mypyc] Fix invalid unlikely() in certain rare branches (#11939)

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]>
Fix `Enum` final props and writable special members, refs #11820 (#11945)

f6ebf108f76d3c2af0a2245c4abbad302b476141 authored almost 3 years ago by Nikita Sobolev <[email protected]>
Microrefactoring: use more constants for type names (#11803)

Co-authored-by: Jelle Zijlstra <[email protected]>

6ea7cfa9de21eb0ae363257b1b2e5435b1ec4bce authored about 3 years ago by Nikita Sobolev <[email protected]>
Fix `CallableType.formal_arguments` docstring (#11861)

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]>
NamedTuple now narrows to bool correctly, when `__bool__` is defined (#11822)

c0c86d072d39fc2d217db57a0ca9ded84843d29b authored about 3 years ago by Nikita Sobolev <[email protected]>
[mypyc] Ignore super calls to object.__init__() (#11938)

This speeds up the deltablue benchmark by 15%.

378119fb0ce7cb6133eeccd4de236a330cc8e10e authored about 3 years ago by Jukka Lehtosalo <[email protected]>
Remove test samples (#11906)

I don't know that these have caught any real issues in the last couple
years, however, the stan...

531a1f0d3df12d6268707f48bbd224e7adf8a262 authored about 3 years ago by Shantanu <[email protected]>
attrs namedtuple (#11794)

254d41e10a353612d5edfdcb8b23b8e90508830b authored about 3 years ago by Tin Tvrtković <[email protected]>
Enum now accepts String literals and final values as 2nd arg (#8664)

Related #8219

Co-authored-by: Jingchen Ye <[email protected]>

f5ac47fdf5add3f55864949df3b80b1271de8df2 authored about 3 years ago by Vincent Perez <[email protected]>
Restore removed builtin_type() api method (#11932)

It shouldn't be used for new code, but adding it back makes it
unnecessary to update existing p...

10f6e4dfd4161e0ed7558b9897fab601b3a95fcd authored about 3 years ago by Jukka Lehtosalo <[email protected]>
stubtest: fix literal type construction (#11931)

Co-authored-by: hauntsaninja <>

e40877d4306787acb15985888e1f33ad4bdd9912 authored about 3 years ago by Nikita Sobolev <[email protected]>
Fix crash on `ErasedType` and `covers_at_runtime` (#11924)

Closes #11913
Refs #11273

Co-authored-by: Shantanu <[email protected]...

a0f27b1d1f21bc6c7502374c3a1e2b642758a4bb authored about 3 years ago by Nikita Sobolev <[email protected]>
Make `disable_type_names` a context manager (#11716)

55bee20f5c73b4a3868f2c350c608cd4ea67bd05 authored about 3 years ago by Nikita Sobolev <[email protected]>
Stricter None handling with --no-strict-optional (#11717)

Closes #11705

e8cf960e8579e5cee2db27212efad4870e5106bd authored about 3 years ago by Nikita Sobolev <[email protected]>
Fix PEP 585 type aliases in stubs (#11918)

Fixes #11859

Co-authored-by: hauntsaninja <>

e0a89b75fbefc48bb82c924979a8e1c52d65818e authored about 3 years ago by Shantanu <[email protected]>
Handle `NoReturn` type aliases (#11912)

ce4211618809835a25330f95443a9c06766be197 authored about 3 years ago by Nikita Sobolev <[email protected]>
Always allow use of `type[T]` in stubs (#11863)

37886c74fe8b0a40e6427361f3dcb3a9d0d82751 authored about 3 years ago by Nikita Sobolev <[email protected]>
Update pythoneval-asyncio.test (#11908)

edbc2484d0e6183dc34d2f5d0578b06d773e02e5 authored about 3 years ago by Nikita Sobolev <[email protected]>
[0.931 backport] Fix __reduce__ regression (#11866)

Co-authored-by: hauntsaninja <>

27d2c2212547f137ade8b2098902a8c80ca82f78 authored about 3 years ago by Shantanu <[email protected]>
Fix regression when a contextmanager yields a generic (#11870)

Resolves #11852

06afa7cca3b04cc32e5684f0344a6138c7dfa918 authored about 3 years ago by Anthony Sottile <[email protected]>
(minor) Short circuit call to `can_be_type_alias` when using PEP 613 (#11904)

When debugging #11887 I realised `can_be_type_alias` can do non-trivial
amounts of work. It's u...

9c05d3d19de74fc10a51aa5b663e6a38bc6abc73 authored about 3 years ago by Shantanu <[email protected]>
Revert to treating exclude in .ini as single string (#11881)

Partially reverts #11329 (with respect to `.ini` documentation).
Modifies existing unit tests.
...

ba0e9d6427fa15a2c3420d4427e88b99514d22f9 authored about 3 years ago by Matt Bogosian <[email protected]>
Preserves interpreting multi-line strings as a single value for `exclude` in TOML files (#11828)

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]>
Fix sdist build for editorconfig (#11889)

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]>
Add reports extra to setup.py (#11777)

b0c44617426acaaba759b9ad9d3c03d9a237d2af authored about 3 years ago by James Braza <[email protected]>
Add `.editorconfig` file (#11883)

6330a41bc396b0137576e0826be3c03343600c4a authored about 3 years ago by Nikita Sobolev <[email protected]>
Avoid grep on Windows (#11879)

Co-authored-by: hauntsaninja <>

229913e8e31ee2889ad3e2a3f85ffe82b29fa198 authored about 3 years ago by Shantanu <[email protected]>
Remove a lot of unused code (#11698)

1beed9af48bed07033490f8cf2d4e08229450c5f authored about 3 years ago by Nikita Sobolev <[email protected]>
Fix typo in command line docs (#11842)

ef07896184fd440f826187f1a98ca2bf50b137b4 authored about 3 years ago by Oliver Newman <[email protected]>
Update issue templates with links (#11874)

Co-authored-by: KotlinIsland <[email protected]>

dec07872d1d5221c571ed6e7346d6308daf71c18 authored about 3 years ago by KotlinIsland <[email protected]>
Fixes `__slots__` regression in 0.930 (#11824)

Closes #11821
Closes #11827

ee37502badf15c678489ee10e38131cf337b8353 authored about 3 years ago by Nikita Sobolev <[email protected]>
Consider import * to be an explicit re-export (#11867)

Resolves #11856

Co-authored-by: hauntsaninja <>

0390485f9732f4d1d7680810c8eff250dba83ba0 authored about 3 years ago by Shantanu <[email protected]>
Fix `--no-implicit-reexport` inconsistency (#11707)

Fixes #11706

Co-authored-by: hauntsaninja <>

d168b6d091de63995bcdb796085b48dec1292f98 authored about 3 years ago by Shantanu <[email protected]>
Fixes regression with `__module__` and similar non-final `Enum` names, refs #11820 (#11823)

b6c8f0358c2079c9c10bf0fbda1598ed2b18e60b authored about 3 years ago by Nikita Sobolev <[email protected]>
Fix shell syntax in build_wheel (#11873)

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]>
Skip lxml and mypyc external tests against built wheels (#11872)

Co-authored-by: hauntsaninja <>

22d4f1d2356f3858e2de8244531937ab85cac44a authored about 3 years ago by Shantanu <[email protected]>
Skip compiling mypyc/__main__.py (#11862)

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]>
Display ellipsis when formatting variadic `tuple[T, ...]` (#11857)

Previously variadic tuples were displayed as `builtins.tuple[T]`, which
is misleading. That syn...

065054826b6c4046b41b2dabb930b51bf2e69490 authored about 3 years ago by Marti Raudsepp <[email protected]>
Run mypyc tests against built wheels (#11865)

This should catch https://github.com/mypyc/mypyc/issues/912
We never ran mypyc tests against wh...

3d205764fff2ca792886d84d0a16791dfd33f077 authored about 3 years ago by Shantanu <[email protected]>
Fix glob in .gitattributes for Github stats (#11848)

8d37a8ba5ce994d775ff0c7d5e06c469fb6effc1 authored about 3 years ago by Nikita Sobolev <[email protected]>
Fix typo in test comment (#11864)

1cd6dc9bb34958d086c3cd69676c89295bfb164a authored about 3 years ago by Nikita Sobolev <[email protected]>
Various small documentation updates (#11817)

Improve consistency, grammar, formatting and clarity in the documentation. Also
some minor cont...

f96446ce2f99a86210b21d39c7aec4b13a8bfc66 authored about 3 years ago by Jukka Lehtosalo <[email protected]>
Fix crash if "_" is in builtins (#11811)

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]>
Fixes crash on subclassing `Annotated` without args, refs #11808 (#11814)

e7212817aaf2ebfc463f27a12eb1ff1851930cb3 authored about 3 years ago by Nikita Sobolev <[email protected]>