forked from python/mypy
-
Notifications
You must be signed in to change notification settings - Fork 0
mypy_primer: truncate per-project output #1
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
Closed
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Diff from mypy_primer, showing the effect of this PR on open source code: prefect (https://github.com/PrefectHQ/prefect)
- src/prefect/exceptions.py:157: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- src/prefect/exceptions.py:157: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- src/prefect/exceptions.py:174: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- src/prefect/exceptions.py:174: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- src/prefect/exceptions.py:271: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- src/prefect/exceptions.py:271: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- src/prefect/exceptions.py:289: error: Cannot instantiate type "Type[Self?]" [misc]
- src/prefect/client/base.py:128: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- src/prefect/client/base.py:128: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- src/prefect/client/base.py:162: error: Self? has no attribute "status_code" [attr-defined]
- src/prefect/client/base.py:169: error: Self? has no attribute "headers" [attr-defined]
- src/prefect/client/base.py:182: error: Self? has no attribute "raise_for_status" [attr-defined]
- src/prefect/docker.py:218: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- src/prefect/docker.py:218: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ src/prefect/utilities/pydantic.py:155: error: Self type is only allowed in annotations within class definition [misc]
- src/prefect/utilities/pydantic.py:155: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- src/prefect/utilities/pydantic.py:155: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- src/prefect/utilities/pydantic.py:161: error: No overload variant matches argument type "Type[Self?]" [call-overload]
+ src/prefect/utilities/pydantic.py:161: error: No overload variant matches argument type "Type[Any]" [call-overload]
- src/prefect/utilities/pydantic.py:163: error: No overload variant matches argument type "Type[Self?]" [call-overload]
+ src/prefect/utilities/pydantic.py:163: error: No overload variant matches argument type "Type[Any]" [call-overload]
- src/prefect/utilities/pydantic.py:166: error: Incompatible types in assignment (expression has type "Callable[[Type[Self?], KwArg(Any)], Self?]", variable has type overloaded function) [assignment]
+ src/prefect/utilities/pydantic.py:166: error: Incompatible types in assignment (expression has type "Callable[[Type[Any], KwArg(Any)], Any]", variable has type overloaded function) [assignment]
- src/prefect/software/pip.py:25: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- src/prefect/software/pip.py:25: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- src/prefect/software/pip.py:34: error: "Type[Self?]" has no attribute "validate" [attr-defined]
- src/prefect/software/python.py:26: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- src/prefect/software/python.py:26: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- src/prefect/software/python.py:37: error: Cannot instantiate type "Type[Self?]" [misc]
- src/prefect/software/python.py:41: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- src/prefect/software/python.py:41: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- src/prefect/software/conda.py:118: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- src/prefect/software/conda.py:118: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- src/prefect/software/conda.py:133: error: Cannot instantiate type "Type[Self?]" [misc]
- src/prefect/software/conda.py:141: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- src/prefect/software/conda.py:141: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- src/prefect/software/conda.py:178: error: Cannot instantiate type "Type[Self?]" [misc]
- src/prefect/blocks/core.py:567: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- src/prefect/blocks/core.py:567: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- src/prefect/blocks/core.py:815: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- src/prefect/blocks/core.py:815: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- src/prefect/blocks/core.py:823: error: Unsupported argument 2 for "super" [misc]
- src/prefect/blocks/core.py:834: error: Unsupported argument 2 for "super" [misc]
+ src/prefect/infrastructure/base.py:110: error: Argument 1 to "update" of "MutableMapping" has incompatible type "Dict[str, Optional[str]]"; expected "SupportsKeysAndGetItem[str, str]" [arg-type]
- src/prefect/infrastructure/base.py:90: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- src/prefect/infrastructure/base.py:90: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- src/prefect/infrastructure/base.py:94: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- src/prefect/infrastructure/base.py:94: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- src/prefect/infrastructure/base.py:99: error: Self? has no attribute "_base_deployment_labels" [attr-defined]
- src/prefect/infrastructure/base.py:104: error: Self? has no attribute "_base_flow_labels" [attr-defined]
- src/prefect/infrastructure/base.py:108: error: Self? has no attribute "copy" [attr-defined]
- src/prefect/infrastructure/base.py:110: error: Self? has no attribute "_base_flow_run_environment" [attr-defined]
- src/prefect/infrastructure/base.py:110: error: Self? has no attribute "env" [attr-defined]
- src/prefect/infrastructure/base.py:112: error: Self? has no attribute "_base_flow_run_labels" [attr-defined]
- src/prefect/infrastructure/base.py:115: error: Self? has no attribute "labels" [attr-defined]
- src/prefect/infrastructure/base.py:117: error: Self? has no attribute "name" [attr-defined]
- src/prefect/infrastructure/base.py:118: error: Self? has no attribute "command" [attr-defined]
- src/prefect/infrastructure/base.py:118: error: Self? has no attribute "_base_flow_run_command" [attr-defined]
- src/prefect/blocks/kubernetes.py:49: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- src/prefect/blocks/kubernetes.py:49: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- src/prefect/blocks/kubernetes.py:83: error: Cannot instantiate type "Type[Self?]" [misc]
- src/prefect/results.py:128: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- src/prefect/results.py:128: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- src/prefect/results.py:129: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- src/prefect/results.py:129: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- src/prefect/results.py:138: error: "Type[Self?]" has no attribute "from_settings" [attr-defined]
- src/prefect/results.py:161: error: "Type[Self?]" has no attribute "default_factory" [attr-defined]
- src/prefect/results.py:182: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- src/prefect/results.py:182: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- src/prefect/results.py:183: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- src/prefect/results.py:183: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- src/prefect/results.py:211: error: "Type[Self?]" has no attribute "from_settings" [attr-defined]
- src/prefect/results.py:222: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- src/prefect/results.py:222: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- src/prefect/results.py:228: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- src/prefect/results.py:228: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- src/prefect/results.py:229: error: "Type[Self?]" has no attribute "resolve_storage_block" [attr-defined]
- src/prefect/results.py:232: error: "Type[Self?]" has no attribute "resolve_serializer" [attr-defined]
- src/prefect/results.py:234: error: Cannot instantiate type "Type[Self?]" [misc]
- src/prefect/packaging/docker.py:121: error: Self? has no attribute "add_line" [attr-defined]
- src/prefect/packaging/docker.py:125: error: Self? has no attribute "write_text" [attr-defined]
- src/prefect/packaging/docker.py:128: error: Self? has no attribute "build" [attr-defined]
Tanjun (https://github.com/FasterSpeeding/Tanjun)
- tanjun/dependencies/data.py:87: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/dependencies/data.py:87: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/dependencies/data.py:93: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/dependencies/data.py:93: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:228: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:228: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:310: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:310: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:921: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:921: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:925: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:925: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:929: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:929: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:1350: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:1350: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:1692: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:1692: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:1789: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:1789: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:2054: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:2054: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:2058: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:2058: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:2127: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:2127: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:2178: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:2178: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:2226: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:2226: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:2274: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:2274: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:2407: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:2407: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:2411: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:2411: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:2415: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:2415: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:2425: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:2425: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:2440: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:2440: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:2455: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:2455: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:2475: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:2475: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:2603: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:2603: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:2658: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:2658: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:2673: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:2673: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:2779: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:2779: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:2794: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:2794: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:2835: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:2835: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:2839: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:2839: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:2843: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:2843: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:2925: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:2925: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:2940: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:2940: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:2961: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:2961: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:3001: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:3001: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:3016: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:3016: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:3150: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:3150: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:3167: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:3167: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:3182: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:3182: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:3226: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:3226: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:3241: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:3241: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:3292: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:3292: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:3307: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:3307: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:3358: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:3358: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:3375: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:3375: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:3424: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:3424: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:3428: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:3428: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:4073: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:4073: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:4090: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:4090: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:4120: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:4120: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:4143: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:4143: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:4161: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:4161: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:4222: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:4222: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:4281: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:4281: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:4303: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:4303: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:4499: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:4499: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:4552: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:4552: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:4622: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:4622: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:4674: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:4674: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:4733: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:4733: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:4765: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:4765: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:4785: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:4785: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/abc.py:4817: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/abc.py:4817: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/hooks.py:115: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/hooks.py:115: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/hooks.py:119: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/hooks.py:119: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/hooks.py:124: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/hooks.py:124: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/hooks.py:153: error: Returning Any from function declared to return Self? [no-any-return]
- tanjun/hooks.py:160: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/hooks.py:160: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/hooks.py:165: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/hooks.py:165: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/hooks.py:187: error: Returning Any from function declared to return Self? [no-any-return]
- tanjun/hooks.py:194: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/hooks.py:194: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/hooks.py:199: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/hooks.py:199: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/hooks.py:218: error: Returning Any from function declared to return Self? [no-any-return]
- tanjun/hooks.py:225: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/hooks.py:225: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/hooks.py:230: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/hooks.py:230: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/hooks.py:249: error: Returning Any from function declared to return Self? [no-any-return]
- tanjun/hooks.py:256: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/hooks.py:256: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/hooks.py:261: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/hooks.py:261: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/hooks.py:280: error: Returning Any from function declared to return Self? [no-any-return]
- tanjun/dependencies/locales.py:145: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/dependencies/locales.py:145: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/context/base.py:119: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/context/base.py:119: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/context/base.py:130: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/context/base.py:130: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/components.py:323: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/components.py:323: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/components.py:340: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/components.py:340: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/components.py:344: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/components.py:344: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/components.py:352: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/components.py:352: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/components.py:422: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/components.py:422: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/components.py:448: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/components.py:448: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/components.py:468: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/components.py:468: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/components.py:489: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/components.py:489: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/components.py:494: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/components.py:494: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/components.py:510: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/components.py:510: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/components.py:526: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/components.py:526: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/components.py:542: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/components.py:542: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/components.py:558: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/components.py:558: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/components.py:576: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/components.py:576: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- tanjun/components.py:618: error: Variable "typing_extensions.Self" is not valid as a type [valid-type]
- tanjun/components.py:618: note: See https://m
... (truncated 953 lines) ... |
d00fa42
to
15eeecd
Compare
ikonst
pushed a commit
that referenced
this pull request
Aug 13, 2023
python#15832) …5272)" This reverts commit 2aaeda4. <!-- If this pull request fixes an issue, add "Fixes #NNN" with the issue number. --> (Explain how this PR changes mypy.) <!-- Checklist: - Read the [Contributing Guidelines](https://github.com/python/mypy/blob/master/CONTRIBUTING.md) - Add tests for all changed behaviour. - If you can't add a test, please explain why and how you verified your changes work. - Make sure CI passes. - Please do not force push to the PR once it has been reviewed. -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.