-
Notifications
You must be signed in to change notification settings - Fork 10
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
option to enforce error codes in type:ignore
/pyright:ignore
comments
#186
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
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
DetachHead
force-pushed
the
enforce-error-codes
branch
from
March 23, 2024 02:29
42eb262
to
0232574
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
… rule default to `reportGeneralTypeIssues`
…r regardless of the user config
DetachHead
force-pushed
the
enforce-error-codes
branch
from
March 23, 2024 03:48
d510e36
to
8d08b5b
Compare
Diff from mypy_primer, showing the effect of this PR on open source code: pyp (https://github.com/hauntsaninja/pyp)
+ /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:438:61 - error: `type: ignore` comment must specify a rule (eg. `# type: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/pyp/pyp.py:456:57 - error: `type: ignore` comment must specify a rule (eg. `# type: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/pyp/pyp.py:499:60 - error: `type: ignore` comment must specify a rule (eg. `# type: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/pyp/pyp.py:596:30 - error: `type: ignore` comment must specify a rule (eg. `# type: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/pyp/pyp.py:649:56 - error: `type: ignore` comment must specify a rule (eg. `# type: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
- 270 errors, 0 warnings, 0 notes
+ 276 errors, 0 warnings, 0 notes
pydantic (https://github.com/samuelcolvin/pydantic)
- /tmp/mypy_primer/projects/pydantic/pydantic/json_schema.py:67:33 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value
+ /tmp/mypy_primer/projects/pydantic/pydantic/json_schema.py:67:33 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/pydantic/pydantic/json_schema.py:67:61 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value
+ /tmp/mypy_primer/projects/pydantic/pydantic/json_schema.py:67:61 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value (reportGeneralTypeIssues)
steam.py (https://github.com/Gobot1234/steam.py)
- /tmp/mypy_primer/projects/steam.py/steam/chat.py:209:61 - error: Type argument for "Generic" must be a type variable
+ /tmp/mypy_primer/projects/steam.py/steam/chat.py:209:61 - error: Type argument for "Generic" must be a type variable (reportGeneralTypeIssues)
pandera (https://github.com/pandera-dev/pandera)
- /tmp/mypy_primer/projects/pandera/pandera/typing/common.py:183:26 - error: Type argument for "Generic" must be a type variable
+ /tmp/mypy_primer/projects/pandera/pandera/typing/common.py:183:26 - error: Type argument for "Generic" must be a type variable (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/pandera/pandera/typing/common.py:195:25 - error: Type argument for "Generic" must be a type variable
+ /tmp/mypy_primer/projects/pandera/pandera/typing/common.py:195:25 - error: Type argument for "Generic" must be a type variable (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/pandera/tests/core/test_decorators.py:779:28 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value
+ /tmp/mypy_primer/projects/pandera/tests/core/test_decorators.py:779:28 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value (reportGeneralTypeIssues)
Tanjun (https://github.com/FasterSpeeding/Tanjun)
- /tmp/mypy_primer/projects/Tanjun/tanjun/abc.py:119:34 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value
+ /tmp/mypy_primer/projects/Tanjun/tanjun/abc.py:119:34 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/Tanjun/tanjun/abc.py:119:75 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value
+ /tmp/mypy_primer/projects/Tanjun/tanjun/abc.py:119:75 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/Tanjun/tanjun/abc.py:1769:38 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value
+ /tmp/mypy_primer/projects/Tanjun/tanjun/abc.py:1769:38 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/Tanjun/tanjun/abc.py:1769:66 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value
+ /tmp/mypy_primer/projects/Tanjun/tanjun/abc.py:1769:66 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/Tanjun/tanjun/abc.py:1864:38 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value
+ /tmp/mypy_primer/projects/Tanjun/tanjun/abc.py:1864:38 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/Tanjun/tanjun/abc.py:2782:38 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value
+ /tmp/mypy_primer/projects/Tanjun/tanjun/abc.py:2782:38 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/Tanjun/tanjun/abc.py:4540:66 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value
+ /tmp/mypy_primer/projects/Tanjun/tanjun/abc.py:4540:66 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/Tanjun/tanjun/abc.py:4541:70 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value
+ /tmp/mypy_primer/projects/Tanjun/tanjun/abc.py:4541:70 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/Tanjun/tanjun/abc.py:4546:66 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value
+ /tmp/mypy_primer/projects/Tanjun/tanjun/abc.py:4546:66 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/Tanjun/tanjun/abc.py:4547:70 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value
+ /tmp/mypy_primer/projects/Tanjun/tanjun/abc.py:4547:70 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/Tanjun/tanjun/clients.py:2237:66 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value
+ /tmp/mypy_primer/projects/Tanjun/tanjun/clients.py:2237:66 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/Tanjun/tanjun/clients.py:2238:77 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value
+ /tmp/mypy_primer/projects/Tanjun/tanjun/clients.py:2238:77 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/Tanjun/tanjun/clients.py:2242:66 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value
+ /tmp/mypy_primer/projects/Tanjun/tanjun/clients.py:2242:66 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/Tanjun/tanjun/clients.py:2243:77 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value
+ /tmp/mypy_primer/projects/Tanjun/tanjun/clients.py:2243:77 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/Tanjun/tanjun/commands/menu.py:68:34 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value
+ /tmp/mypy_primer/projects/Tanjun/tanjun/commands/menu.py:68:34 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/Tanjun/tanjun/commands/menu.py:68:75 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value
+ /tmp/mypy_primer/projects/Tanjun/tanjun/commands/menu.py:68:75 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/Tanjun/tanjun/commands/menu.py:79:59 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value
+ /tmp/mypy_primer/projects/Tanjun/tanjun/commands/menu.py:79:59 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/Tanjun/tanjun/commands/menu.py:84:59 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value
+ /tmp/mypy_primer/projects/Tanjun/tanjun/commands/menu.py:84:59 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/Tanjun/tanjun/commands/menu.py:173:59 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value
+ /tmp/mypy_primer/projects/Tanjun/tanjun/commands/menu.py:173:59 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/Tanjun/tanjun/commands/menu.py:204:56 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value
+ /tmp/mypy_primer/projects/Tanjun/tanjun/commands/menu.py:204:56 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/Tanjun/tanjun/commands/menu.py:209:56 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value
+ /tmp/mypy_primer/projects/Tanjun/tanjun/commands/menu.py:209:56 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/Tanjun/tanjun/commands/menu.py:300:56 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value
+ /tmp/mypy_primer/projects/Tanjun/tanjun/commands/menu.py:300:56 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/Tanjun/tanjun/commands/menu.py:349:61 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value
+ /tmp/mypy_primer/projects/Tanjun/tanjun/commands/menu.py:349:61 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/Tanjun/tanjun/commands/menu.py:351:31 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value
+ /tmp/mypy_primer/projects/Tanjun/tanjun/commands/menu.py:351:31 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/Tanjun/tanjun/commands/menu.py:368:61 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value
+ /tmp/mypy_primer/projects/Tanjun/tanjun/commands/menu.py:368:61 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/Tanjun/tanjun/commands/menu.py:370:31 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value
+ /tmp/mypy_primer/projects/Tanjun/tanjun/commands/menu.py:370:31 - error: Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value (reportGeneralTypeIssues)
... (truncated 20 lines) ...
pytest-robotframework (https://github.com/detachhead/pytest-robotframework)
- /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:218:22 - error: Expected parameter type list or "..."
+ /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:218:22 - error: Expected parameter type list or "..." (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:238:33 - error: Expected parameter type list or "..."
+ /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:238:33 - error: Expected parameter type list or "..." (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:238:52 - error: Expected parameter type list or "..."
+ /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:238:52 - error: Expected parameter type list or "..." (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:326:37 - error: Expected parameter type list or "..."
+ /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:326:37 - error: Expected parameter type list or "..." (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:329:37 - error: Expected parameter type list or "..."
+ /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:329:37 - error: Expected parameter type list or "..." (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:329:56 - error: Expected parameter type list or "..."
+ /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:329:56 - error: Expected parameter type list or "..." (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:331:37 - error: Expected parameter type list or "..."
+ /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:331:37 - error: Expected parameter type list or "..." (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:331:56 - error: Expected parameter type list or "..."
+ /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:331:56 - error: Expected parameter type list or "..." (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:343:37 - error: Expected parameter type list or "..."
+ /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:343:37 - error: Expected parameter type list or "..." (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:343:72 - error: Expected parameter type list or "..."
+ /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:343:72 - error: Expected parameter type list or "..." (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:356:22 - error: Expected parameter type list or "..."
+ /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:356:22 - error: Expected parameter type list or "..." (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:418:37 - error: Expected parameter type list or "..."
+ /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:418:37 - error: Expected parameter type list or "..." (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:418:72 - error: Expected parameter type list or "..."
+ /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:418:72 - error: Expected parameter type list or "..." (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:455:18 - error: Expected parameter type list or "..."
+ /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:455:18 - error: Expected parameter type list or "..." (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:456:15 - error: Expected parameter type list or "..."
+ /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:456:15 - error: Expected parameter type list or "..." (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:463:26 - error: Expected parameter type list or "..."
+ /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:463:26 - error: Expected parameter type list or "..." (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:467:26 - error: Expected parameter type list or "..."
+ /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:467:26 - error: Expected parameter type list or "..." (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:467:45 - error: Expected parameter type list or "..."
+ /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:467:45 - error: Expected parameter type list or "..." (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:471:18 - error: Expected parameter type list or "..."
+ /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:471:18 - error: Expected parameter type list or "..." (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:477:35 - error: Expected parameter type list or "..."
+ /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:477:35 - error: Expected parameter type list or "..." (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:597:30 - error: Expected parameter type list or "..."
+ /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:597:30 - error: Expected parameter type list or "..." (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:597:49 - error: Expected parameter type list or "..."
+ /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:597:49 - error: Expected parameter type list or "..." (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/_internal/utils.py:18:46 - error: Expected parameter type list or "..."
+ /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/_internal/utils.py:18:46 - error: Expected parameter type list or "..." (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/_internal/utils.py:18:53 - error: Last type argument for "Concatenate" must be a ParamSpec or "..."
+ /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/_internal/utils.py:18:53 - error: Last type argument for "Concatenate" must be a ParamSpec or "..." (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/_internal/utils.py:18:71 - error: Expected parameter type list or "..."
+ /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/_internal/utils.py:18:71 - error: Expected parameter type list or "..." (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/_internal/utils.py:36:53 - error: Expected parameter type list or "..."
+ /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/_internal/utils.py:36:53 - error: Expected parameter type list or "..." (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/_internal/utils.py:36:60 - error: Last type argument for "Concatenate" must be a ParamSpec or "..."
+ /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/_internal/utils.py:36:60 - error: Last type argument for "Concatenate" must be a ParamSpec or "..." (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/_internal/utils.py:36:80 - error: Expected parameter type list or "..."
+ /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/_internal/utils.py:36:80 - error: Expected parameter type list or "..." (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/_internal/utils.py:40:36 - error: Expected parameter type list or "..."
+ /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/_internal/utils.py:40:36 - error: Expected parameter type list or "..." (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/_internal/robot/listeners_and_suite_visitors.py:79:18 - error: Expected parameter type list or "..."
+ /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/_internal/robot/listeners_and_suite_visitors.py:79:18 - error: Expected parameter type list or "..." (reportGeneralTypeIssues)
- /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/_internal/robot/listeners_and_suite_visitors.py:573:69 - error: Expected parameter type list or "..."
+ /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/_internal/robot/listeners_and_suite_visitors.py:573:69 - error: Expected parameter type list or "..." (reportGeneralTypeIssues)
... (truncated 17 lines) ...
PyWinCtl (https://github.com/Kalmat/PyWinCtl)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:825:51 - error: `type: ignore` comment must specify a rule (eg. `# type: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:825:67 - error: `pyright: ignore` comment must specify a rule (eg. `# pyright: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:826:62 - error: `type: ignore` comment must specify a rule (eg. `# type: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:826:78 - error: `pyright: ignore` comment must specify a rule (eg. `# pyright: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:827:58 - error: `type: ignore` comment must specify a rule (eg. `# type: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:827:74 - error: `pyright: ignore` comment must specify a rule (eg. `# pyright: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:829:58 - error: `type: ignore` comment must specify a rule (eg. `# type: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:829:74 - error: `pyright: ignore` comment must specify a rule (eg. `# pyright: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:830:69 - error: `type: ignore` comment must specify a rule (eg. `# type: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:830:85 - error: `pyright: ignore` comment must specify a rule (eg. `# pyright: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:831:65 - error: `type: ignore` comment must specify a rule (eg. `# type: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:831:81 - error: `pyright: ignore` comment must specify a rule (eg. `# pyright: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:832:59 - error: `type: ignore` comment must specify a rule (eg. `# type: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:832:75 - error: `pyright: ignore` comment must specify a rule (eg. `# pyright: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:833:68 - error: `type: ignore` comment must specify a rule (eg. `# type: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:833:84 - error: `pyright: ignore` comment must specify a rule (eg. `# pyright: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:834:73 - error: `type: ignore` comment must specify a rule (eg. `# type: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:834:89 - error: `pyright: ignore` comment must specify a rule (eg. `# pyright: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:835:100 - error: `type: ignore` comment must specify a rule (eg. `# type: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_main.py:835:116 - error: `pyright: ignore` comment must specify a rule (eg. `# pyright: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/PyWinCtl/typings/Quartz/__init__.pyi:6:24 - error: `type: ignore` comment must specify a rule (eg. `# type: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/PyWinCtl/typings/Quartz/__init__.pyi:6:40 - error: `pyright: ignore` comment must specify a rule (eg. `# pyright: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/PyWinCtl/typings/Quartz/ImageKit/__init__.pyi:5:28 - error: `type: ignore` comment must specify a rule (eg. `# type: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/PyWinCtl/typings/Quartz/ImageKit/__init__.pyi:5:44 - error: `pyright: ignore` comment must specify a rule (eg. `# pyright: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/PyWinCtl/typings/Quartz/PDFKit/__init__.pyi:5:28 - error: `type: ignore` comment must specify a rule (eg. `# type: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/PyWinCtl/typings/Quartz/PDFKit/__init__.pyi:5:44 - error: `pyright: ignore` comment must specify a rule (eg. `# pyright: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/PyWinCtl/typings/Quartz/QuartzCore/__init__.pyi:5:16 - error: `type: ignore` comment must specify a rule (eg. `# type: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/PyWinCtl/typings/Quartz/QuartzCore/__init__.pyi:5:32 - error: `pyright: ignore` comment must specify a rule (eg. `# pyright: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/PyWinCtl/typings/Quartz/QuartzCore/__init__.pyi:6:28 - error: `type: ignore` comment must specify a rule (eg. `# type: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/PyWinCtl/typings/Quartz/QuartzCore/__init__.pyi:6:44 - error: `pyright: ignore` comment must specify a rule (eg. `# pyright: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/PyWinCtl/typings/Quartz/QuartzCore/__init__.pyi:52:49 - error: `type: ignore` comment must specify a rule (eg. `# type: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/PyWinCtl/typings/Quartz/QuartzCore/__init__.pyi:52:65 - error: `pyright: ignore` comment must specify a rule (eg. `# pyright: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/PyWinCtl/typings/Quartz/QuartzCore/__init__.pyi:71:46 - error: `type: ignore` comment must specify a rule (eg. `# type: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
+ /tmp/mypy_primer/projects/PyWinCtl/typings/Quartz/QuartzCore/__init__.pyi:71:62 - error: `pyright: ignore` comment must specify a rule (eg. `# pyright: ignore[ruleName]`) (reportIgnoreCommentWithoutRule)
... (truncated 38 lines) ...``` |
DetachHead
changed the title
Enforce error codes
option to enforce error codes in Mar 23, 2024
type:ignore
/pyright:ignore
comments
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.
pyright:ignore
/type:ignore
comments #4