-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Bump typed_ast max dependency #11560
Merged
Merged
Conversation
This file contains 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
ilevkivskyi
approved these changes
Nov 16, 2021
Diff from mypy_primer, showing the effect of this PR on open source code: pydantic (https://github.com/samuelcolvin/pydantic.git)
- pydantic/utils.py:554: error: <nothing> has no attribute "__class__" [attr-defined]
core (https://github.com/home-assistant/core.git)
- homeassistant/loader.py:298: error: unused "type: ignore" comment
- homeassistant/helpers/service.py:708: error: unused "type: ignore" comment
- homeassistant/components/http/__init__.py:299: error: unused "type: ignore[arg-type, misc]" comment
+ homeassistant/components/http/__init__.py:299: error: unused "type: ignore" comment
- homeassistant/components/devolo_home_network/__init__.py:52: error: unused "type: ignore[union-attr]" comment
- homeassistant/components/devolo_home_network/__init__.py:60: error: unused "type: ignore[union-attr]" comment
- homeassistant/components/devolo_home_network/__init__.py:68: error: unused "type: ignore[union-attr]" comment
- homeassistant/components/bmw_connected_drive/sensor.py:396: error: unused "type: ignore" comment
- homeassistant/components/bmw_connected_drive/sensor.py:402: error: unused "type: ignore" comment
prefect (https://github.com/PrefectHQ/prefect.git)
- src/prefect/core/task.py:45: error: Cannot override writable attribute "value" with a final one
mypy (https://github.com/python/mypy.git)
+ mypy/nodes.py:67: error: Variable "typing_extensions.TypeAlias" is not valid as a type [valid-type]
+ mypy/nodes.py:67: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:217: error: Variable "typing_extensions.TypeAlias" is not valid as a type [valid-type]
+ mypy/nodes.py:217: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:238: error: Variable "mypy.nodes.JsonDict" is not valid as a type [valid-type]
+ mypy/nodes.py:238: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:241: error: Variable "mypy.nodes.JsonDict" is not valid as a type [valid-type]
+ mypy/nodes.py:241: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:250: error: Variable "typing_extensions.TypeAlias" is not valid as a type [valid-type]
+ mypy/nodes.py:250: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:310: error: Variable "mypy.nodes.Definition" is not valid as a type [valid-type]
+ mypy/nodes.py:310: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:331: error: Variable "mypy.nodes.JsonDict" is not valid as a type [valid-type]
+ mypy/nodes.py:331: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:341: error: Variable "mypy.nodes.JsonDict" is not valid as a type [valid-type]
+ mypy/nodes.py:341: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:458: error: Variable "mypy.nodes.JsonDict" is not valid as a type [valid-type]
+ mypy/nodes.py:458: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:462: error: Variable "mypy.nodes.JsonDict" is not valid as a type [valid-type]
+ mypy/nodes.py:462: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:523: error: Variable "typing_extensions.TypeAlias" is not valid as a type [valid-type]
+ mypy/nodes.py:523: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:538: error: Variable "mypy.nodes.OverloadPart" is not valid as a type [valid-type]
+ mypy/nodes.py:538: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:539: error: Variable "mypy.nodes.OverloadPart" is not valid as a type [valid-type]
+ mypy/nodes.py:539: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:540: error: Variable "mypy.nodes.OverloadPart" is not valid as a type [valid-type]
+ mypy/nodes.py:540: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:542: error: Variable "mypy.nodes.OverloadPart" is not valid as a type [valid-type]
+ mypy/nodes.py:542: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:563: error: Variable "mypy.nodes.JsonDict" is not valid as a type [valid-type]
+ mypy/nodes.py:563: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:573: error: Variable "mypy.nodes.JsonDict" is not valid as a type [valid-type]
+ mypy/nodes.py:573: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:576: error: Variable "mypy.nodes.OverloadPart" is not valid as a type [valid-type]
+ mypy/nodes.py:576: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:579: error: Variable "mypy.nodes.OverloadPart" is not valid as a type [valid-type]
+ mypy/nodes.py:579: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:729: error: Variable "mypy.nodes.JsonDict" is not valid as a type [valid-type]
+ mypy/nodes.py:729: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:747: error: Variable "mypy.nodes.JsonDict" is not valid as a type [valid-type]
+ mypy/nodes.py:747: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:821: error: Variable "mypy.nodes.JsonDict" is not valid as a type [valid-type]
+ mypy/nodes.py:821: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:829: error: Variable "mypy.nodes.JsonDict" is not valid as a type [valid-type]
+ mypy/nodes.py:829: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:929: error: Variable "mypy.nodes.JsonDict" is not valid as a type [valid-type]
+ mypy/nodes.py:929: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:932: error: Variable "mypy.nodes.JsonDict" is not valid as a type [valid-type]
+ mypy/nodes.py:932: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:944: error: Variable "mypy.nodes.JsonDict" is not valid as a type [valid-type]
+ mypy/nodes.py:944: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:1005: error: Variable "mypy.nodes.JsonDict" is not valid as a type [valid-type]
+ mypy/nodes.py:1005: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:1015: error: Variable "mypy.nodes.JsonDict" is not valid as a type [valid-type]
+ mypy/nodes.py:1015: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:1104: error: Variable "mypy.nodes.Lvalue" is not valid as a type [valid-type]
+ mypy/nodes.py:1104: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:1123: error: Variable "mypy.nodes.Lvalue" is not valid as a type [valid-type]
+ mypy/nodes.py:1123: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:1144: error: Variable "mypy.nodes.Lvalue" is not valid as a type [valid-type]
+ mypy/nodes.py:1144: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:1147: error: Variable "mypy.nodes.Lvalue" is not valid as a type [valid-type]
+ mypy/nodes.py:1147: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:1180: error: Variable "mypy.nodes.Lvalue" is not valid as a type [valid-type]
+ mypy/nodes.py:1180: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:1196: error: Variable "mypy.nodes.Lvalue" is not valid as a type [valid-type]
+ mypy/nodes.py:1196: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:1247: error: Variable "mypy.nodes.Lvalue" is not valid as a type [valid-type]
+ mypy/nodes.py:1247: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:1249: error: Variable "mypy.nodes.Lvalue" is not valid as a type [valid-type]
+ mypy/nodes.py:1249: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:1347: error: Variable "mypy.nodes.Lvalue" is not valid as a type [valid-type]
+ mypy/nodes.py:1347: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:1355: error: Variable "mypy.nodes.Lvalue" is not valid as a type [valid-type]
+ mypy/nodes.py:1355: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:1613: error: Variable "mypy.nodes.JsonDict" is not valid as a type [valid-type]
+ mypy/nodes.py:1613: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:2032: error: Variable "mypy.nodes.Lvalue" is not valid as a type [valid-type]
+ mypy/nodes.py:2032: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:2034: error: Variable "mypy.nodes.Lvalue" is not valid as a type [valid-type]
+ mypy/nodes.py:2034: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:2088: error: Variable "mypy.nodes.Lvalue" is not valid as a type [valid-type]
+ mypy/nodes.py:2088: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:2090: error: Variable "mypy.nodes.Lvalue" is not valid as a type [valid-type]
+ mypy/nodes.py:2090: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:2232: error: Variable "mypy.nodes.JsonDict" is not valid as a type [valid-type]
+ mypy/nodes.py:2232: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:2242: error: Variable "mypy.nodes.JsonDict" is not valid as a type [valid-type]
+ mypy/nodes.py:2242: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:2257: error: Variable "mypy.nodes.JsonDict" is not valid as a type [valid-type]
+ mypy/nodes.py:2257: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:2267: error: Variable "mypy.nodes.JsonDict" is not valid as a type [valid-type]
+ mypy/nodes.py:2267: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:2585: error: Variable "mypy.nodes.JsonDict" is not valid as a type [valid-type]
+ mypy/nodes.py:2585: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:2784: error: Variable "mypy.nodes.JsonDict" is not valid as a type [valid-type]
+ mypy/nodes.py:2784: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:2809: error: Variable "mypy.nodes.JsonDict" is not valid as a type [valid-type]
+ mypy/nodes.py:2809: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:3003: error: Variable "mypy.nodes.JsonDict" is not valid as a type [valid-type]
+ mypy/nodes.py:3003: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:3004: error: Variable "mypy.nodes.JsonDict" is not valid as a type [valid-type]
+ mypy/nodes.py:3004: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:3020: error: Variable "mypy.nodes.JsonDict" is not valid as a type [valid-type]
+ mypy/nodes.py:3020: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:3099: error: Variable "mypy.nodes.JsonDict" is not valid as a type [valid-type]
+ mypy/nodes.py:3099: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:3229: error: Variable "mypy.nodes.JsonDict" is not valid as a type [valid-type]
+ mypy/nodes.py:3229: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:3236: error: Variable "mypy.nodes.JsonDict" is not valid as a type [valid-type]
+ mypy/nodes.py:3236: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:3267: error: Variable "mypy.nodes.JsonDict" is not valid as a type [valid-type]
+ mypy/nodes.py:3267: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:3317: error: Variable "mypy.nodes.JsonDict" is not valid as a type [valid-type]
+ mypy/nodes.py:3317: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:3318: error: Variable "mypy.nodes.JsonDict" is not valid as a type [valid-type]
+ mypy/nodes.py:3318: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:3330: error: Variable "mypy.nodes.JsonDict" is not valid as a type [valid-type]
+ mypy/nodes.py:3330: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/nodes.py:3431: error: Variable "mypy.nodes.Definition" is not valid as a type [valid-type]
+ mypy/nodes.py:3431: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/types.py:26: error: Variable "typing_extensions.TypeAlias" is not valid as a type [valid-type]
+ mypy/types.py:26: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/types.py:55: error: Variable "typing_extensions.TypeAlias" is not valid as a type [valid-type]
+ mypy/types.py:55: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/types.py:119: error: Variable "mypy.types.JsonDict" is not valid as a type [valid-type]
+ mypy/types.py:119: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/types.py:160: error: Variable "mypy.types.JsonDict" is not valid as a type [valid-type]
+ mypy/types.py:160: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/types.py:164: error: Variable "mypy.types.JsonDict" is not valid as a type [valid-type]
+ mypy/types.py:164: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/types.py:262: error: Variable "mypy.types.JsonDict" is not valid as a type [valid-type]
+ mypy/types.py:262: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/types.py:264: error: Variable "mypy.types.JsonDict" is not valid as a type [valid-type]
+ mypy/types.py:264: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/types.py:272: error: Variable "mypy.types.JsonDict" is not valid as a type [valid-type]
+ mypy/types.py:272: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/types.py:382: error: Variable "mypy.types.JsonDict" is not valid as a type [valid-type]
+ mypy/types.py:382: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/types.py:386: error: Variable "mypy.types.JsonDict" is not valid as a type [valid-type]
+ mypy/types.py:386: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/types.py:425: error: Variable "mypy.types.JsonDict" is not valid as a type [valid-type]
+ mypy/types.py:425: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/types.py:437: error: Variable "mypy.types.JsonDict" is not valid as a type [valid-type]
+ mypy/types.py:437: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/types.py:457: error: Variable "mypy.types.JsonDict" is not valid as a type [valid-type]
+ mypy/types.py:457: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/types.py:467: error: Variable "mypy.types.JsonDict" is not valid as a type [valid-type]
+ mypy/types.py:467: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/types.py:547: error: Variable "mypy.types.JsonDict" is not valid as a type [valid-type]
+ mypy/types.py:547: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/types.py:556: error: Variable "mypy.types.JsonDict" is not valid as a type [valid-type]
+ mypy/types.py:556: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/types.py:588: error: Variable "mypy.types.JsonDict" is not valid as a type [valid-type]
+ mypy/types.py:588: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/types.py:613: error: Variable "mypy.types.JsonDict" is not valid as a type [valid-type]
+ mypy/types.py:613: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/types.py:675: error: Variable "mypy.types.JsonDict" is not valid as a type [valid-type]
+ mypy/types.py:675: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/types.py:681: error: Variable "mypy.types.JsonDict" is not valid as a type [valid-type]
+ mypy/types.py:681: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/types.py:731: error: Variable "mypy.types.JsonDict" is not valid as a type [valid-type]
+ mypy/types.py:731: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/types.py:736: error: Variable "mypy.types.JsonDict" is not valid as a type [valid-type]
+ mypy/types.py:736: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/types.py:764: error: Variable "mypy.types.JsonDict" is not valid as a type [valid-type]
+ mypy/types.py:764: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/types.py:768: error: Variable "mypy.types.JsonDict" is not valid as a type [valid-type]
+ mypy/types.py:768: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypy/types.py:808: error: Variable "mypy.types.JsonDict" is not valid as a type [valid-type]
+ mypy/types.py:808: note: (Skipping most remaining errors due to unresolved imports or missing stubs; fix these first)
- mypy/fastparse.py:102: error: Return type becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:284: error: Argument 1 to "is_no_type_check_decorator" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:309: error: Type of variable becomes "Dict[type, Callable[[Optional[Any]], Any]]" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:322: error: Argument 2 to "visit" becomes "Optional[Any]" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:333: error: Argument 3 to "set_line" becomes "Union[Any, Any, Any]" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:339: error: Argument 2 to "translate_opt_expr_list" becomes "Sequence[Optional[Any]]" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:346: error: Argument 2 to "translate_expr_list" becomes "Sequence[Any]" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:349: error: Argument 2 to "get_lineno" becomes "Union[Any, Any]" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:355: error: Argument 2 to "translate_stmt_list" becomes "Sequence[Any]" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:375: error: Argument 2 to "translate_type_comment" becomes "Union[Any, Any]" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:390: error: Type of variable becomes "Dict[Type[Any], str]" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:406: error: Argument 2 to "from_operator" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:413: error: Type of variable becomes "Dict[Type[Any], str]" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:426: error: Argument 2 to "from_comp_operator" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:433: error: Argument 2 to "as_block" becomes "List[Any]" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:440: error: Argument 2 to "as_required_block" becomes "List[Any]" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:496: error: Argument 2 to "visit_Module" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:516: error: Argument 2 to "visit_FunctionDef" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:521: error: Argument 2 to "visit_AsyncFunctionDef" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:524: error: Argument 2 to "do_func_def" becomes "Union[Any, Any]" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:664: error: Argument 2 to "transform_args" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:670: error: Type of variable becomes "List[Any]" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:671: error: Redundant cast to "List[Any]" [redundant-cast]
- mypy/fastparse.py:671: error: Target type of cast becomes "List[Any]" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:710: error: Argument 2 to "make_argument" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:710: error: Argument 3 to "make_argument" becomes "Optional[Any]" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:729: error: Argument 3 to "fail_arg" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:737: error: Argument 2 to "visit_ClassDef" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:762: error: Argument 2 to "visit_Return" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:767: error: Argument 2 to "visit_Delete" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:777: error: Argument 2 to "visit_Assign" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:785: error: Argument 2 to "visit_AnnAssign" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:800: error: Argument 2 to "visit_AugAssign" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:807: error: Argument 2 to "visit_For" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:817: error: Argument 2 to "visit_AsyncFor" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:828: error: Argument 2 to "visit_While" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:835: error: Argument 2 to "visit_If" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:843: error: Argument 2 to "visit_With" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:852: error: Argument 2 to "visit_AsyncWith" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:862: error: Argument 2 to "visit_Raise" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:867: error: Argument 2 to "visit_Try" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:883: error: Argument 2 to "visit_Assert" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:888: error: Argument 2 to "visit_Import" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:904: error: Argument 2 to "visit_ImportFrom" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:917: error: Argument 2 to "visit_Global" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:922: error: Argument 2 to "visit_Nonlocal" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:927: error: Argument 2 to "visit_Expr" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:933: error: Argument 2 to "visit_Pass" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:938: error: Argument 2 to "visit_Break" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:943: error: Argument 2 to "visit_Continue" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:954: error: Argument 2 to "visit_BoolOp" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:968: error: Argument 4 to "group" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:976: error: Argument 2 to "visit_BinOp" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:986: error: Argument 2 to "visit_UnaryOp" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:1004: error: Argument 2 to "visit_Lambda" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:1015: error: Argument 2 to "visit_IfExp" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:1022: error: Argument 2 to "visit_Dict" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:1028: error: Argument 2 to "visit_Set" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:1033: error: Argument 2 to "visit_ListComp" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:1034: error: Target type of cast becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:1038: error: Argument 2 to "visit_SetComp" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:1039: error: Target type of cast becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:1043: error: Argument 2 to "visit_DictComp" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:1057: error: Argument 2 to "visit_GeneratorExp" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:1070: error: Argument 2 to "visit_Await" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:1076: error: Argument 2 to "visit_Yield" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:1081: error: Argument 2 to "visit_YieldFrom" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:1086: error: Argument 2 to "visit_Compare" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:1094: error: Argument 2 to "visit_Call" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:1134: error: Argument 2 to "visit_Num" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:1151: error: Argument 2 to "visit_Str" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:1162: error: Argument 2 to "visit_JoinedStr" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:1181: error: Argument 2 to "visit_FormattedValue" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:1201: error: Argument 2 to "visit_Bytes" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:1206: error: Argument 2 to "visit_NameConstant" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:1211: error: Argument 2 to "visit_Ellipsis" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:1216: error: Argument 2 to "visit_Attribute" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:1229: error: Argument 2 to "visit_Subscript" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:1247: error: Argument 2 to "visit_Starred" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:1252: error: Argument 2 to "visit_Name" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:1257: error: Argument 2 to "visit_List" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:1267: error: Argument 2 to "visit_Tuple" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:1274: error: Argument 2 to "visit_Slice" becomes "Any" due to an unfollowed import [no-any-unimported]
- mypy/fastparse.py:1280: error: Argument 2 to "visit_ExtSlice" becomes "Any" due to an unfollowed imp``` |
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.
Original PR #11531, modified for the 0.920 branch.
Cf. #11158