|
655 | 655 | "code": "no-any-expr",
|
656 | 656 | "column": 15,
|
657 | 657 | "message": "Expression has type \"Any\"",
|
658 |
| - "offset": 135, |
| 658 | + "offset": 137, |
659 | 659 | "src": "data = json.load(file.open())",
|
660 | 660 | "target": "mypy.build.load_baseline"
|
661 | 661 | },
|
|
2651 | 2651 | "code": "explicit-override",
|
2652 | 2652 | "column": 4,
|
2653 | 2653 | "message": "Method \"visit_type_application\" is not using @override but is overriding a method in class \"mypy.visitor.ExpressionVisitor\"",
|
2654 |
| - "offset": 29, |
| 2654 | + "offset": 47, |
2655 | 2655 | "src": "def visit_type_application(self, tapp: TypeApplication) -> Type:",
|
2656 | 2656 | "target": "mypy.checkexpr.ExpressionChecker.visit_type_application"
|
2657 | 2657 | },
|
|
10403 | 10403 | "code": "explicit-override",
|
10404 | 10404 | "column": 4,
|
10405 | 10405 | "message": "Method \"_fill_text\" is not using @override but is overriding a method in class \"argparse.HelpFormatter\"",
|
10406 |
| - "offset": 249, |
| 10406 | + "offset": 251, |
10407 | 10407 | "src": "def _fill_text(self, text: str, width: int, indent: str) -> str:",
|
10408 | 10408 | "target": "mypy.main.AugmentedHelpFormatter._fill_text"
|
10409 | 10409 | },
|
|
10755 | 10755 | "code": "no-any-expr",
|
10756 | 10756 | "column": 49,
|
10757 | 10757 | "message": "Expression has type \"Any\"",
|
10758 |
| - "offset": 17, |
| 10758 | + "offset": 18, |
10759 | 10759 | "src": "parse_config_file(options, set_strict_flags, config_file, stdout, stderr)",
|
10760 | 10760 | "target": "mypy.main.process_options"
|
10761 | 10761 | },
|
|
11841 | 11841 | "code": "unreachable",
|
11842 | 11842 | "column": 16,
|
11843 | 11843 | "message": "Statement is unreachable",
|
11844 |
| - "offset": 1103, |
| 11844 | + "offset": 1115, |
11845 | 11845 | "src": "return",
|
11846 | 11846 | "target": "mypy.messages.MessageBuilder.report_protocol_problems"
|
11847 | 11847 | },
|
|
25537 | 25537 | "code": "no-any-expr",
|
25538 | 25538 | "column": 13,
|
25539 | 25539 | "message": "Expression type contains \"Any\" (has type \"int | Any\")",
|
25540 |
| - "offset": 52, |
| 25540 | + "offset": 55, |
25541 | 25541 | "src": "result = process.returncode",
|
25542 | 25542 | "target": "mypy.test.testcmdline.test_python_cmdline"
|
25543 | 25543 | },
|
|
26153 | 26153 | "code": "possibly-undefined",
|
26154 | 26154 | "column": 22,
|
26155 | 26155 | "message": "Name \"program\" may be undefined",
|
26156 |
| - "offset": 143, |
| 26156 | + "offset": 144, |
26157 | 26157 | "src": "os.remove(program)",
|
26158 | 26158 | "target": "mypy.test.testpep561"
|
26159 | 26159 | },
|
|
33335 | 33335 | "code": "explicit-override",
|
33336 | 33336 | "column": 4,
|
33337 | 33337 | "message": "Method \"visit_ellipsis_type\" is not using @override but is overriding a method in class \"mypy.type_visitor.SyntheticTypeVisitor\"",
|
33338 |
| - "offset": 6, |
| 33338 | + "offset": 8, |
33339 | 33339 | "src": "def visit_ellipsis_type(self, t: EllipsisType) -> str:",
|
33340 | 33340 | "target": "mypy.types.TypeStrVisitor.visit_ellipsis_type"
|
33341 | 33341 | },
|
|
33763 | 33763 | "code": "no-any-expr",
|
33764 | 33764 | "column": 28,
|
33765 | 33765 | "message": "Expression type contains \"Any\" (has type \"list[str | Any]\")",
|
33766 |
| - "offset": 464, |
| 33766 | + "offset": 470, |
33767 | 33767 | "src": "docstr_repr = \"\\n\".join(re.split(r\"(?<=[^\\\\])\\\\n\", repr(docstr)))",
|
33768 | 33768 | "target": "mypy.util.quote_docstring"
|
33769 | 33769 | }
|
|
0 commit comments