Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mention --enable-incomplete-feature=NewGenericSyntax #17462

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

hauntsaninja
Copy link
Collaborator

Putting this up in case we think it's a good way to get feedback

Copy link
Contributor

github-actions bot commented Jul 1, 2024

Diff from mypy_primer, showing the effect of this PR on open source code:

artigraph (https://github.com/artigraph/artigraph)
- src/arti/internal/utils.py:25: error: PEP 695 generics are not yet supported  [valid-type]
+ src/arti/internal/utils.py:25: error: PEP 695 generics are not yet supported. Use --enable-incomplete-feature=NewGenericSyntax for experimental support  [valid-type]
- src/arti/internal/utils.py:213: error: PEP 695 generics are not yet supported  [valid-type]
+ src/arti/internal/utils.py:213: error: PEP 695 generics are not yet supported. Use --enable-incomplete-feature=NewGenericSyntax for experimental support  [valid-type]
- src/arti/internal/utils.py:230: error: PEP 695 generics are not yet supported  [valid-type]
+ src/arti/internal/utils.py:230: error: PEP 695 generics are not yet supported. Use --enable-incomplete-feature=NewGenericSyntax for experimental support  [valid-type]
- src/arti/internal/utils.py:262: error: PEP 695 generics are not yet supported  [valid-type]
+ src/arti/internal/utils.py:262: error: PEP 695 generics are not yet supported. Use --enable-incomplete-feature=NewGenericSyntax for experimental support  [valid-type]
- src/arti/internal/type_hints.py:118: error: PEP 695 generics are not yet supported  [valid-type]
+ src/arti/internal/type_hints.py:118: error: PEP 695 generics are not yet supported. Use --enable-incomplete-feature=NewGenericSyntax for experimental support  [valid-type]
- src/arti/internal/type_hints.py:124: error: PEP 695 generics are not yet supported  [valid-type]
+ src/arti/internal/type_hints.py:124: error: PEP 695 generics are not yet supported. Use --enable-incomplete-feature=NewGenericSyntax for experimental support  [valid-type]
- src/arti/internal/type_hints.py:129: error: PEP 695 generics are not yet supported  [valid-type]
+ src/arti/internal/type_hints.py:129: error: PEP 695 generics are not yet supported. Use --enable-incomplete-feature=NewGenericSyntax for experimental support  [valid-type]
- src/arti/internal/type_hints.py:166: error: PEP 695 generics are not yet supported  [valid-type]
+ src/arti/internal/type_hints.py:166: error: PEP 695 generics are not yet supported. Use --enable-incomplete-feature=NewGenericSyntax for experimental support  [valid-type]
- src/arti/internal/mappings.py:14: error: PEP 695 generics are not yet supported  [valid-type]
+ src/arti/internal/mappings.py:14: error: PEP 695 generics are not yet supported. Use --enable-incomplete-feature=NewGenericSyntax for experimental support  [valid-type]
- src/arti/internal/mappings.py:64: error: PEP 695 type aliases are not yet supported  [valid-type]
+ src/arti/internal/mappings.py:64: error: PEP 695 type aliases are not yet supported. Use --enable-incomplete-feature=NewGenericSyntax for experimental support  [valid-type]
- src/arti/internal/mappings.py:76: error: PEP 695 type aliases are not yet supported  [valid-type]
+ src/arti/internal/mappings.py:76: error: PEP 695 type aliases are not yet supported. Use --enable-incomplete-feature=NewGenericSyntax for experimental support  [valid-type]
- src/arti/internal/mappings.py:79: error: PEP 695 type aliases are not yet supported  [valid-type]
+ src/arti/internal/mappings.py:79: error: PEP 695 type aliases are not yet supported. Use --enable-incomplete-feature=NewGenericSyntax for experimental support  [valid-type]
- src/arti/internal/mappings.py:80: error: PEP 695 type aliases are not yet supported  [valid-type]
+ src/arti/internal/mappings.py:80: error: PEP 695 type aliases are not yet supported. Use --enable-incomplete-feature=NewGenericSyntax for experimental support  [valid-type]
- src/arti/internal/mappings.py:94: error: PEP 695 generics are not yet supported  [valid-type]
+ src/arti/internal/mappings.py:94: error: PEP 695 generics are not yet supported. Use --enable-incomplete-feature=NewGenericSyntax for experimental support  [valid-type]
- src/arti/internal/models.py:199: error: PEP 695 generics are not yet supported  [valid-type]
+ src/arti/internal/models.py:199: error: PEP 695 generics are not yet supported. Use --enable-incomplete-feature=NewGenericSyntax for experimental support  [valid-type]
- src/arti/internal/models.py:202: error: PEP 695 generics are not yet supported  [valid-type]
+ src/arti/internal/models.py:202: error: PEP 695 generics are not yet supported. Use --enable-incomplete-feature=NewGenericSyntax for experimental support  [valid-type]
- src/arti/storage/__init__.py:65: error: PEP 695 generics are not yet supported  [valid-type]
+ src/arti/storage/__init__.py:65: error: PEP 695 generics are not yet supported. Use --enable-incomplete-feature=NewGenericSyntax for experimental support  [valid-type]
- src/arti/backends/__init__.py:133: error: PEP 695 generics are not yet supported  [valid-type]
+ src/arti/backends/__init__.py:133: error: PEP 695 generics are not yet supported. Use --enable-incomplete-feature=NewGenericSyntax for experimental support  [valid-type]
- src/arti/graphs/__init__.py:39: error: PEP 695 type aliases are not yet supported  [valid-type]
+ src/arti/graphs/__init__.py:39: error: PEP 695 type aliases are not yet supported. Use --enable-incomplete-feature=NewGenericSyntax for experimental support  [valid-type]

@JukkaL JukkaL merged commit f297917 into python:master Jul 2, 2024
18 checks passed
@hauntsaninja hauntsaninja deleted the gen-synt branch July 2, 2024 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants