-
Notifications
You must be signed in to change notification settings - Fork 28
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
fix typeCheckingMode
not defaulting to "all"
(was broken by a recent upstream change)
#422
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
…ent upstream change)
KotlinIsland
approved these changes
Jun 18, 2024
Diff from mypy_primer, showing the effect of this PR on open source code: alectryon (https://github.com/cpitclaudel/alectryon)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:21:20 - error: This type is deprecated as of Python 3.9; use "tuple" instead (reportDeprecated)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:21:27 - error: This type is deprecated as of Python 3.9; use "list" instead (reportDeprecated)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:21:33 - error: This type is deprecated as of Python 3.10; use "|" instead (reportDeprecated)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:36:19 - error: Type of parameter "fpath" is unknown (reportUnknownParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:36:19 - error: Type annotation is missing for parameter "fpath" (reportMissingParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:36:26 - error: Type of parameter "input_is_stdin" is unknown (reportUnknownParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:36:26 - error: Type annotation is missing for parameter "input_is_stdin" (reportMissingParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:39:15 - error: Argument type is unknown
+ Argument corresponds to parameter "file" in function "open" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:42:5 - error: Return type is Any (reportAny)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:42:18 - error: Type of parameter "fpath" is unknown (reportUnknownParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:42:18 - error: Type annotation is missing for parameter "fpath" (reportMissingParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:42:25 - error: Type of parameter "input_is_stdin" is unknown (reportUnknownParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:42:25 - error: Type annotation is missing for parameter "input_is_stdin" (reportMissingParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:43:23 - error: Type of "loads" is partially unknown
+ Type of "loads" is "(s: Unknown, **kwargs: Unknown) -> Any" (reportUnknownVariableType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:44:12 - error: Return type is Any (reportAny)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:44:35 - error: Argument type is unknown
+ Argument corresponds to parameter "fpath" in function "read_plain" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:44:42 - error: Argument type is unknown
+ Argument corresponds to parameter "input_is_stdin" in function "read_plain" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:46:17 - error: Type of parameter "contents" is unknown (reportUnknownParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:46:17 - error: Type annotation is missing for parameter "contents" (reportMissingParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:46:27 - error: Type of parameter "fpath" is unknown (reportUnknownParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:46:27 - error: Type annotation is missing for parameter "fpath" (reportMissingParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:47:25 - error: Argument type is unknown
+ Argument corresponds to parameter "_s" in function "__init__" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:49:5 - error: Return type is unknown (reportUnknownParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:49:27 - error: Type of parameter "fpath" is unknown (reportUnknownParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:49:27 - error: Type annotation is missing for parameter "fpath" (reportMissingParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:49:34 - error: Type of parameter "k" is unknown (reportUnknownParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:49:34 - error: Type annotation is missing for parameter "k" (reportMissingParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:49:38 - error: Type of parameter "args" is unknown (reportUnknownParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:49:38 - error: Type annotation is missing for parameter "args" (reportMissingParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:52:16 - error: Return type is unknown (reportUnknownVariableType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:54:42 - error: Argument type is unknown
+ Argument corresponds to parameter "args" in function "format" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:56:17 - error: Type of parameter "code" is unknown (reportUnknownParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:56:17 - error: Type annotation is missing for parameter "code" (reportMissingParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:56:23 - error: Type of parameter "fpath" is unknown (reportUnknownParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:56:23 - error: Type annotation is missing for parameter "fpath" (reportMissingParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:56:30 - error: Type of parameter "point" is unknown (reportUnknownParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:56:30 - error: Type annotation is missing for parameter "point" (reportMissingParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:56:37 - error: Type of parameter "marker" is unknown (reportUnknownParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:56:37 - error: Type annotation is missing for parameter "marker" (reportMissingParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:56:45 - error: Type of parameter "input_language" is unknown (reportUnknownParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:56:45 - error: Type annotation is missing for parameter "input_language" (reportMissingParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:57:27 - error: Type of "code2rst_marked" is partially unknown
+ Type of "code2rst_marked" is "(lang: LangDef, code: Unknown, point: Unknown, marker: Unknown) -> str" (reportUnknownVariableType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:59:34 - error: Argument type is unknown
+ Argument corresponds to parameter "fpath" in function "_catch_parsing_errors" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:59:64 - error: Argument type is unknown
+ Argument corresponds to parameter "args" in function "_catch_parsing_errors" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:59:70 - error: Argument type is unknown
+ Argument corresponds to parameter "args" in function "_catch_parsing_errors" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:59:77 - error: Argument type is unknown
+ Argument corresponds to parameter "args" in function "_catch_parsing_errors" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:61:17 - error: Type of parameter "rst" is unknown (reportUnknownParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:61:17 - error: Type annotation is missing for parameter "rst" (reportMissingParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:61:22 - error: Type of parameter "fpath" is unknown (reportUnknownParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:61:22 - error: Type annotation is missing for parameter "fpath" (reportMissingParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:61:29 - error: Type of parameter "point" is unknown (reportUnknownParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:61:29 - error: Type annotation is missing for parameter "point" (reportMissingParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:61:36 - error: Type of parameter "marker" is unknown (reportUnknownParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:61:36 - error: Type annotation is missing for parameter "marker" (reportMissingParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:61:44 - error: Type of parameter "backend" is unknown (reportUnknownParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:61:44 - error: Type annotation is missing for parameter "backend" (reportMissingParameterType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:62:27 - error: Type of "rst2code_marked" is partially unknown
+ Type of "rst2code_marked" is "(lang: LangDef, rst: Unknown, point: Unknown, marker: Unknown) -> str" (reportUnknownVariableType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:63:22 - error: Type of "replace" is unknown (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:64:34 - error: Argument type is unknown
+ Argument corresponds to parameter "fpath" in function "_catch_parsing_errors" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:64:64 - error: Argument type is unknown
+ Argument corresponds to parameter "args" in function "_catch_parsing_errors" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:64:69 - error: Argument type is unknown
+ Argument corresponds to parameter "args" in function "_catch_parsing_errors" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/alectryon/alectryon/cli.py:64:76 - error: Argument type is unknown
+ Argument corresponds to parameter "args" in function "_catch_parsing_errors" (reportUnknownArgumentType)
... (truncated 8525 lines) ...
pyinstrument (https://github.com/joerick/pyinstrument)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__init__.py
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__init__.py: error: Cycle detected in import chain
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__init__.py
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/profiler.py (reportImportCycles)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__init__.py: error: Cycle detected in import chain
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__init__.py
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/profiler.py
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/renderers/__init__.py
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/renderers/base.py (reportImportCycles)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__init__.py: error: Cycle detected in import chain
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__init__.py
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/profiler.py
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/renderers/__init__.py
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/renderers/console.py (reportImportCycles)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__init__.py: error: Cycle detected in import chain
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__init__.py
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/profiler.py
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/renderers/__init__.py
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/renderers/html.py (reportImportCycles)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__init__.py:12:28 - error: Type of parameter "ipython" is unknown (reportUnknownParameterType)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__init__.py:12:28 - error: Type annotation is missing for parameter "ipython" (reportMissingParameterType)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__init__.py:18:36 - error: "PyinstrumentMagic" is not exported from module "pyinstrument.magic"
+ Import from "pyinstrument.magic.magic" instead (reportPrivateLocalImportUsage)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__init__.py:20:5 - error: Type of "register_magics" is unknown (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:12:20 - error: Type of "Any" is Any (reportAny)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:57:5 - error: Result of call expression is of type "Option" and is not used; assign to variable "_" if this is intentional (reportUnusedCallResult)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:65:5 - error: Result of call expression is of type "Option" and is not used; assign to variable "_" if this is intentional (reportUnusedCallResult)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:74:5 - error: Result of call expression is of type "Option" and is not used; assign to variable "_" if this is intentional (reportUnusedCallResult)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:83:5 - error: Result of call expression is of type "Option" and is not used; assign to variable "_" if this is intentional (reportUnusedCallResult)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:92:5 - error: Result of call expression is of type "Option" and is not used; assign to variable "_" if this is intentional (reportUnusedCallResult)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:100:5 - error: Result of call expression is of type "Option" and is not used; assign to variable "_" if this is intentional (reportUnusedCallResult)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:104:5 - error: Result of call expression is of type "Option" and is not used; assign to variable "_" if this is intentional (reportUnusedCallResult)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:118:5 - error: Result of call expression is of type "Option" and is not used; assign to variable "_" if this is intentional (reportUnusedCallResult)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:134:5 - error: Result of call expression is of type "Option" and is not used; assign to variable "_" if this is intentional (reportUnusedCallResult)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:143:5 - error: Result of call expression is of type "Option" and is not used; assign to variable "_" if this is intentional (reportUnusedCallResult)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:152:5 - error: Result of call expression is of type "Option" and is not used; assign to variable "_" if this is intentional (reportUnusedCallResult)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:163:5 - error: Result of call expression is of type "Option" and is not used; assign to variable "_" if this is intentional (reportUnusedCallResult)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:175:5 - error: Result of call expression is of type "Option" and is not used; assign to variable "_" if this is intentional (reportUnusedCallResult)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:188:5 - error: Result of call expression is of type "Option" and is not used; assign to variable "_" if this is intentional (reportUnusedCallResult)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:199:5 - error: Result of call expression is of type "Option" and is not used; assign to variable "_" if this is intentional (reportUnusedCallResult)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:208:5 - error: Result of call expression is of type "Option" and is not used; assign to variable "_" if this is intentional (reportUnusedCallResult)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:215:5 - error: Result of call expression is of type "Option" and is not used; assign to variable "_" if this is intentional (reportUnusedCallResult)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:223:5 - error: Result of call expression is of type "Option" and is not used; assign to variable "_" if this is intentional (reportUnusedCallResult)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:230:5 - error: Result of call expression is of type "Option" and is not used; assign to variable "_" if this is intentional (reportUnusedCallResult)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:237:5 - error: Result of call expression is of type "Option" and is not used; assign to variable "_" if this is intentional (reportUnusedCallResult)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:258:44 - error: `type: ignore` comment must specify a rule (eg. `# type: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:258:44 - error: Unnecessary "# type: ignore" comment (reportUnnecessaryTypeIgnoreComment)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:261:15 - error: Conversion of type `Values` to type `CommandLineOptions` may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to `object` first. (reportInvalidCast)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:263:37 - error: `type: ignore` comment must specify a rule (eg. `# type: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:306:22 - error: Argument type is Any
+ Argument corresponds to parameter "msg" in function "error" (reportAny)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:373:39 - error: "HTMLRenderer" is not exported from module "pyinstrument.renderers" (reportPrivateLocalImportUsage)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:378:9 - error: Result of call expression is of type "int | Any" and is not used; assign to variable "_" if this is intentional (reportUnusedCallResult)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:380:13 - error: Result of call expression is of type "Any | None" and is not used; assign to variable "_" if this is intentional (reportUnusedCallResult)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:382:39 - error: "ConsoleRenderer" is not exported from module "pyinstrument.renderers" (reportPrivateLocalImportUsage)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:390:65 - error: "Renderer" is not exported from module "pyinstrument.renderers" (reportPrivateLocalImportUsage)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:420:45 - error: "FrameRenderer" is not exported from module "pyinstrument.renderers" (reportPrivateLocalImportUsage)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:426:45 - error: "ConsoleRenderer" is not exported from module "pyinstrument.renderers" (reportPrivateLocalImportUsage)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:429:9 - error: Type of "unicode" is Any (reportAny)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:430:9 - error: Type of "color" is Any (reportAny)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:446:17 - error: Result of call expression is of type "Literal[True]" and is not used; assign to variable "_" if this is intentional (reportUnusedCallResult)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:451:21 - error: Type of "parsed_value" is Any (reportAny)
... (truncated 1229 lines) ...
pyp (https://github.com/hauntsaninja/pyp)
+ /tmp/mypy_primer/projects/pyp/pyp.py:12:20 - error: Type of "Any" is Any (reportAny)
+ /tmp/mypy_primer/projects/pyp/pyp.py:12:25 - error: This type is deprecated as of Python 3.9; use "dict" instead (reportDeprecated)
+ /tmp/mypy_primer/projects/pyp/pyp.py:12:31 - error: This type is deprecated as of Python 3.9; use "collections.abc.Iterator" instead (reportDeprecated)
+ /tmp/mypy_primer/projects/pyp/pyp.py:12:41 - error: This type is deprecated as of Python 3.9; use "list" instead (reportDeprecated)
+ /tmp/mypy_primer/projects/pyp/pyp.py:12:47 - error: This type is deprecated as of Python 3.10; use "| None" instead (reportDeprecated)
+ /tmp/mypy_primer/projects/pyp/pyp.py:12:57 - error: This type is deprecated as of Python 3.9; use "set" instead (reportDeprecated)
+ /tmp/mypy_primer/projects/pyp/pyp.py:12:62 - error: This type is deprecated as of Python 3.9; use "tuple" instead (reportDeprecated)
+ /tmp/mypy_primer/projects/pyp/pyp.py:18:35 - error: `type: ignore` comment must specify a rule (eg. `# type: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/pyp/pyp.py:26:24 - error: This type is deprecated as of Python 3.9; use "collections.abc.Iterable" instead (reportDeprecated)
+ /tmp/mypy_primer/projects/pyp/pyp.py:28:12 - error: Argument type is partially unknown
+ Argument corresponds to parameter "obj" in function "len"
+ Argument type is "tuple[Unknown, ...]" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/pyp/pyp.py:29:16 - error: Argument type is unknown
+ Argument corresponds to parameter "values" in function "print" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/pyp/pyp.py:29:24 - error: Argument type is unknown
+ Argument corresponds to parameter "sep" in function "print" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/pyp/pyp.py:29:24 - error: Argument type is unknown
+ Argument corresponds to parameter "end" in function "print" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/pyp/pyp.py:29:24 - error: Argument type is unknown
+ Argument corresponds to parameter "file" in function "print" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/pyp/pyp.py:29:24 - error: Argument type is unknown
+ Argument corresponds to parameter "flush" in function "print" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/pyp/pyp.py:31:5 - error: Type of "x" is unknown (reportUnknownVariableType)
+ /tmp/mypy_primer/projects/pyp/pyp.py:33:13 - error: Type of "k" is unknown (reportUnknownVariableType)
+ /tmp/mypy_primer/projects/pyp/pyp.py:33:16 - error: Type of "v" is unknown (reportUnknownVariableType)
+ /tmp/mypy_primer/projects/pyp/pyp.py:34:28 - error: Argument type is unknown
+ Argument corresponds to parameter "values" in function "print" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/pyp/pyp.py:34:33 - error: Argument type is unknown
+ Argument corresponds to parameter "sep" in function "print" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/pyp/pyp.py:34:33 - error: Argument type is unknown
+ Argument corresponds to parameter "end" in function "print" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/pyp/pyp.py:34:33 - error: Argument type is unknown
+ Argument corresponds to parameter "file" in function "print" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/pyp/pyp.py:34:33 - error: Argument type is unknown
+ Argument corresponds to parameter "flush" in function "print" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/pyp/pyp.py:36:13 - error: Type of "i" is unknown (reportUnknownVariableType)
+ /tmp/mypy_primer/projects/pyp/pyp.py:37:19 - error: Argument type is unknown
+ Argument corresponds to parameter "values" in function "print" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/pyp/pyp.py:37:24 - error: Argument type is unknown
+ Argument corresponds to parameter "sep" in function "print" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/pyp/pyp.py:37:24 - error: Argument type is unknown
+ Argument corresponds to parameter "end" in function "print" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/pyp/pyp.py:37:24 - error: Argument type is unknown
+ Argument corresponds to parameter "file" in function "print" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/pyp/pyp.py:37:24 - error: Argument type is unknown
+ Argument corresponds to parameter "flush" in function "print" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/pyp/pyp.py:39:15 - error: Argument type is partially unknown
+ Argument corresponds to parameter "values" in function "print"
+ Argument type is "Unknown | str" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/pyp/pyp.py:39:20 - error: Argument type is unknown
+ Argument corresponds to parameter "sep" in function "print" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/pyp/pyp.py:39:20 - error: Argument type is unknown
+ Argument corresponds to parameter "end" in function "print" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/pyp/pyp.py:39:20 - error: Argument type is unknown
+ Argument corresponds to parameter "file" in function "print" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/pyp/pyp.py:39:20 - error: Argument type is unknown
+ Argument corresponds to parameter "flush" in function "print" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/pyp/pyp.py:54:23 - error: This type is deprecated as of Python 3.9; use "list" instead (reportDeprecated)
+ /tmp/mypy_primer/projects/pyp/pyp.py:54:28 - error: This type is deprecated as of Python 3.9; use "set" instead (reportDeprecated)
+ /tmp/mypy_primer/projects/pyp/pyp.py:55:37 - error: This type is deprecated as of Python 3.9; use "list" instead (reportDeprecated)
+ /tmp/mypy_primer/projects/pyp/pyp.py:57:25 - error: This type is deprecated as of Python 3.9; use "set" instead (reportDeprecated)
+ /tmp/mypy_primer/projects/pyp/pyp.py:58:32 - error: This type is deprecated as of Python 3.9; use "list" instead (reportDeprecated)
+ /tmp/mypy_primer/projects/pyp/pyp.py:64:36 - error: This type is deprecated as of Python 3.9; use "set" instead (reportDeprecated)
+ /tmp/mypy_primer/projects/pyp/pyp.py:67:30 - error: Type of parameter "value" is Any (reportAny)
+ /tmp/mypy_primer/projects/pyp/pyp.py:69:17 - error: Type of "item" is unknown (reportUnknownVariableType)
+ /tmp/mypy_primer/projects/pyp/pyp.py:75:9 - error: Method "generic_visit" is not marked as override but is overriding a method in class "NodeVisitor" (reportImplicitOverride)
+ /tmp/mypy_primer/projects/pyp/pyp.py:76:24 - error: This type is deprecated as of Python 3.9; use "tuple" instead (reportDeprecated)
+ /tmp/mypy_primer/projects/pyp/pyp.py:81:16 - error: Type of "value" is Any (reportAny)
+ /tmp/mypy_primer/projects/pyp/pyp.py:84:9 - error: Method "visit_Name" is not marked as override but is overriding a method in class "NodeVisitor" (reportImplicitOverride)
+ /tmp/mypy_primer/projects/pyp/pyp.py:93:9 - error: Method "visit_Global" is not marked as override but is overriding a method in class "NodeVisitor" (reportImplicitOverride)
+ /tmp/mypy_primer/projects/pyp/pyp.py:96:9 - error: Method "visit_Nonlocal" is not marked as override but is overriding a method in class "NodeVisitor" (reportImplicitOverride)
+ /tmp/mypy_primer/projects/pyp/pyp.py:100:9 - error: Method "visit_AugAssign" is not marked as override but is overriding a method in class "NodeVisitor" (reportImplicitOverride)
+ /tmp/mypy_primer/projects/pyp/pyp.py:107:9 - error: Method "visit_NamedExpr" is not marked as override but is overriding a method in class "NodeVisitor" (reportImplicitOverride)
+ /tmp/mypy_primer/projects/pyp/pyp.py:107:31 - error: Type of parameter "node" is Any (reportAny)
+ /tmp/mypy_primer/projects/pyp/pyp.py:108:20 - error: Type of "value" is Any (reportAny)
+ /tmp/mypy_primer/projects/pyp/pyp.py:108:20 - error: Argument type is Any
+ Argument corresponds to parameter "node" in function "visit" (reportAny)
+ /tmp/mypy_primer/projects/pyp/pyp.py:110:27 - error: Type of "target" is Any (reportAny)
+ /tmp/mypy_primer/projects/pyp/pyp.py:119:9 - error: Method "visit_alias" is not marked as override but is overriding a method in class "NodeVisitor" (reportImplicitOverride)
+ /tmp/mypy_primer/projects/pyp/pyp.py:125:9 - error: Method "visit_ImportFrom" is not marked as override but is overriding a method in class "NodeVisitor" (reportImplicitOverride)
+ /tmp/mypy_primer/projects/pyp/pyp.py:130:9 - error: Method "visit_ClassDef" is not marked as override but is overriding a method in class "NodeVisitor" (reportImplicitOverride)
+ /tmp/mypy_primer/projects/pyp/pyp.py:137:9 - error: Result of call expression is of type "Set[str]" and is not used; assign to variable "_" if this is intentional (reportUnusedCallResult)
+ /tmp/mypy_primer/projects/pyp/pyp.py:141:37 - error: Type of parameter "node" is Any (reportAny)
+ /tmp/mypy_primer/projects/pyp/pyp.py:141:54 - error: This type is deprecated as of Python 3.10; use "| None" instead (reportDeprecated)
+ /tmp/mypy_primer/projects/pyp/pyp.py:143:29 - error: Type of "args" is Any (reportAny)
+ /tmp/mypy_primer/projects/pyp/pyp.py:148:46 - error: Type of "args" is Any (reportAny)
+ /tmp/mypy_primer/projects/pyp/pyp.py:148:46 - error: Argument type is Any
+ Argument corresponds to parameter "node" in function "iter_child_nodes" (reportAny)
+ /tmp/mypy_primer/projects/pyp/pyp.py:151:29 - error: Type of "body" is Any (reportAny)
+ /tmp/mypy_primer/projects/pyp/pyp.py:152:9 - error: Result of call expression is of type "Set[str]" and is not used; assign to variable "_" if this is intentional (reportUnusedCallResult)
... (truncated 239 lines) ...
mkosi (https://github.com/systemd/mkosi)
+ /tmp/mypy_primer/projects/mkosi/mkosi/__init__.py
+ /tmp/mypy_primer/projects/mkosi/mkosi/__init__.py:106:17 - error: Type of "bases" is partially unknown
... (truncated 771 lines) ...``` |
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.
fixes #417