162
162
{
163
163
"code": "no-any-expr",
164
164
"column": 8,
165
- "message": "Expression has type \"Any\"",
165
+ "message": "Expression type contains \"Any\" ( has type \"int | Any\") ",
166
166
"offset": 1,
167
167
"target": "mypy.build.cache_meta_from_dict"
168
168
},
288
288
{
289
289
"code": "no-any-expr",
290
290
"column": 8,
291
- "message": "Expression has type \"Any\"",
291
+ "message": "Expression type contains \"Any\" ( has type \"int | Any\") ",
292
292
"offset": 1,
293
293
"target": "mypy.build.cache_meta_from_dict"
294
294
},
775
775
"offset": 199,
776
776
"target": "mypy.build.load_baseline"
777
777
},
778
- {
779
- "code": "no-any-expr",
780
- "column": 34,
781
- "message": "Expression has type \"Any\"",
782
- "offset": 7,
783
- "target": "mypy.build.load_baseline"
784
- },
785
778
{
786
779
"code": "no-any-expr",
787
780
"column": 7,
788
- "message": "Expression has type \"Any\" ",
789
- "offset": 6 ,
781
+ "message": "Expression type contains \"Any\" ( has type \"Any | bool\") ",
782
+ "offset": 14 ,
790
783
"target": "mypy.build.load_baseline"
791
784
},
792
785
{
793
786
"code": "no-any-expr",
794
787
"column": 9,
795
- "message": "Expression has type \"Any\" ",
788
+ "message": "Expression type contains \"Any\" ( has type \"Any | bool\") ",
796
789
"offset": 3,
797
790
"target": "mypy.build.load_baseline"
798
791
},
814
807
"code": "no-any-expr",
815
808
"column": 15,
816
809
"message": "Expression type contains \"Any\" (has type \"dict[str, Any] | None\")",
817
- "offset": 32 ,
810
+ "offset": 33 ,
818
811
"target": "mypy.build.read_plugins_snapshot"
819
812
},
820
813
{
1653
1646
{
1654
1647
"code": "no-any-expr",
1655
1648
"column": 24,
1656
- "message": "Expression type contains \"Any\" (has type \"dict[str, Any]\")",
1649
+ "message": "Expression type contains \"Any\" (has type \"dict[str, str | int | list[str] | Mapping[str, object] | list[int] | Any]\")",
1657
1650
"offset": 2,
1658
1651
"target": "mypy.build.validate_meta"
1659
1652
},
1793
1786
{
1794
1787
"code": "no-any-expr",
1795
1788
"column": 38,
1796
- "message": "Expression type contains \"Any\" (has type \"dict[str, Any]\")",
1789
+ "message": "Expression type contains \"Any\" (has type \"dict[str, str | int | list[str] | Mapping[str, object] | list[int] | Any]\")",
1797
1790
"offset": 3,
1798
1791
"target": "mypy.build.validate_meta"
1799
1792
},
1800
1793
{
1801
1794
"code": "no-any-expr",
1802
1795
"column": 38,
1803
- "message": "Expression type contains \"Any\" (has type \"dict[str, Any]\")",
1796
+ "message": "Expression type contains \"Any\" (has type \"dict[str, str | int | list[str] | Mapping[str, object] | list[int] | Any]\")",
1804
1797
"offset": 2,
1805
1798
"target": "mypy.build.validate_meta"
1806
1799
},
1863
1856
{
1864
1857
"code": "no-any-expr",
1865
1858
"column": 11,
1866
- "message": "Expression type contains \"Any\" (has type \"dict[str, Any]\")",
1859
+ "message": "Expression type contains \"Any\" (has type \"dict[str, str | int | list[str] | Mapping[str, object] | list[int] | Any]\")",
1867
1860
"offset": 52,
1868
1861
"target": "mypy.build.write_cache"
1869
1862
},
1891
1884
{
1892
1885
"code": "no-any-expr",
1893
1886
"column": 26,
1894
- "message": "Expression type contains \"Any\" (has type \"dict[str, Any]\")",
1887
+ "message": "Expression type contains \"Any\" (has type \"dict[str, str | int | list[str] | Mapping[str, object] | list[int] | Any]\")",
1895
1888
"offset": 4,
1896
1889
"target": "mypy.build.write_cache"
1897
1890
},
1912
1905
{
1913
1906
"code": "no-any-expr",
1914
1907
"column": 48,
1915
- "message": "Expression type contains \"Any\" (has type \"dict[str, Any]\")",
1908
+ "message": "Expression type contains \"Any\" (has type \"dict[str, str | int | list[str] | Mapping[str, object] | list[int] | Any]\")",
1916
1909
"offset": 0,
1917
1910
"target": "mypy.build.write_cache"
1918
1911
},
4698
4691
"offset": 4,
4699
4692
"target": "mypy.config_parser"
4700
4693
},
4694
+ {
4695
+ "code": "no-any-expr",
4696
+ "column": 25,
4697
+ "message": "Expression type contains \"Any\" (has type \"dict[str, (str | float) -> (int, int) | (Untyped) -> list[str] | (Untyped) -> str | (str | Sequence[str]) -> list[str]]\")",
4698
+ "offset": 5,
4699
+ "target": "mypy.config_parser"
4700
+ },
4701
+ {
4702
+ "code": "no-any-expr",
4703
+ "column": 4,
4704
+ "message": "Expression type contains \"Any\" (has type \"(str, (Untyped) -> list[str])\")",
4705
+ "offset": 3,
4706
+ "target": "mypy.config_parser"
4707
+ },
4701
4708
{
4702
4709
"code": "no-any-expr",
4703
4710
"column": 17,
4704
4711
"message": "Expression type contains \"Any\" (has type \"(Untyped) -> list[str]\")",
4705
- "offset": 8,
4712
+ "offset": 0,
4713
+ "target": "mypy.config_parser"
4714
+ },
4715
+ {
4716
+ "code": "no-any-expr",
4717
+ "column": 17,
4718
+ "message": "Expression type contains \"Any\" (has type \"(Untyped) -> list[str]\")",
4719
+ "offset": 0,
4720
+ "target": "mypy.config_parser"
4721
+ },
4722
+ {
4723
+ "code": "no-any-expr",
4724
+ "column": 4,
4725
+ "message": "Expression type contains \"Any\" (has type \"(str, (Untyped) -> list[str])\")",
4726
+ "offset": 1,
4706
4727
"target": "mypy.config_parser"
4707
4728
},
4708
4729
{
4709
4730
"code": "no-any-expr",
4710
4731
"column": 13,
4711
4732
"message": "Expression type contains \"Any\" (has type \"(Untyped) -> list[str]\")",
4733
+ "offset": 0,
4734
+ "target": "mypy.config_parser"
4735
+ },
4736
+ {
4737
+ "code": "no-any-expr",
4738
+ "column": 13,
4739
+ "message": "Expression type contains \"Any\" (has type \"(Untyped) -> list[str]\")",
4740
+ "offset": 0,
4741
+ "target": "mypy.config_parser"
4742
+ },
4743
+ {
4744
+ "code": "no-any-expr",
4745
+ "column": 4,
4746
+ "message": "Expression type contains \"Any\" (has type \"(str, (Untyped) -> str)\")",
4712
4747
"offset": 1,
4713
4748
"target": "mypy.config_parser"
4714
4749
},
4715
4750
{
4716
4751
"code": "no-any-expr",
4717
4752
"column": 22,
4718
4753
"message": "Expression type contains \"Any\" (has type \"(Untyped) -> str\")",
4719
- "offset": 1,
4754
+ "offset": 0,
4755
+ "target": "mypy.config_parser"
4756
+ },
4757
+ {
4758
+ "code": "no-any-expr",
4759
+ "column": 22,
4760
+ "message": "Expression type contains \"Any\" (has type \"(Untyped) -> str\")",
4761
+ "offset": 0,
4720
4762
"target": "mypy.config_parser"
4721
4763
},
4722
4764
{
6760
6802
{
6761
6803
"code": "no-any-expr",
6762
6804
"column": 24,
6763
- "message": "Expression type contains \"Any\" (has type \"dict[str, Any]\")",
6805
+ "message": "Expression type contains \"Any\" (has type \"dict[str, Any] | dict[str, object] \")",
6764
6806
"offset": 3,
6765
6807
"target": "mypy.dmypy_server.Server.serve"
6766
6808
},
6767
6809
{
6768
6810
"code": "no-any-expr",
6769
6811
"column": 48,
6770
- "message": "Expression type contains \"Any\" (has type \"dict[str, Any]\")",
6812
+ "message": "Expression type contains \"Any\" (has type \"dict[str, Any] | dict[str, object] \")",
6771
6813
"offset": 1,
6772
6814
"target": "mypy.dmypy_server.Server.serve"
6773
6815
},
8973
9015
{
8974
9016
"code": "no-any-expr",
8975
9017
"column": 26,
8976
- "message": "Expression has type \"Any\" ",
9018
+ "message": "Expression type contains \"Any\" ( has type \"Any | StrExpr\") ",
8977
9019
"offset": 0,
8978
9020
"target": "mypy.fastparse.ASTConverter.visit_FormattedValue"
8979
9021
},
8987
9029
{
8988
9030
"code": "no-any-expr",
8989
9031
"column": 47,
8990
- "message": "Expression has type \"Any\" ",
9032
+ "message": "Expression type contains \"Any\" ( has type \"Any | StrExpr\") ",
8991
9033
"offset": 0,
8992
9034
"target": "mypy.fastparse.ASTConverter.visit_FormattedValue"
8993
9035
},
11504
11546
"code": "no-any-expr",
11505
11547
"column": 30,
11506
11548
"message": "Expression type contains \"Any\" (has type \"type[CallableType]\")",
11507
- "offset": 312 ,
11549
+ "offset": 329 ,
11508
11550
"target": "mypy.join.TypeJoinVisitor.visit_callable_type"
11509
11551
},
11510
11552
{
13731
13773
{
13732
13774
"code": "no-any-expr",
13733
13775
"column": 32,
13734
- "message": "Expression has type \"Any\" ",
13776
+ "message": "Expression type contains \"Any\" ( has type \"Any | None\") ",
13735
13777
"offset": 2,
13736
13778
"target": "mypy.moduleinspect.get_package_properties"
13737
13779
}
19936
19978
{
19937
19979
"code": "no-any-expr",
19938
19980
"column": 8,
19939
- "message": "Expression has type \"Any\" ",
19981
+ "message": "Expression type contains \"Any\" ( has type \"Any | list[Any]\") ",
19940
19982
"offset": 0,
19941
19983
"target": "mypy.stubtest.verify_mypyfile"
19942
19984
},
19950
19992
{
19951
19993
"code": "no-any-expr",
19952
19994
"column": 8,
19953
- "message": "Expression has type \"Any\" ",
19995
+ "message": "Expression type contains \"Any\" ( has type \"Any | list[Any]\") ",
19954
19996
"offset": 0,
19955
19997
"target": "mypy.stubtest.verify_mypyfile"
19956
19998
},
@@ -19971,14 +20013,14 @@
19971
20013
{
19972
20014
"code": "no-any-expr",
19973
20015
"column": 20,
19974
- "message": "Expression has type \"Any\" ",
20016
+ "message": "Expression type contains \"Any\" ( has type \"Any | list[Any]\") ",
19975
20017
"offset": 10,
19976
20018
"target": "mypy.stubtest.verify_mypyfile"
19977
20019
},
19978
20020
{
19979
20021
"code": "no-any-expr",
19980
20022
"column": 20,
19981
- "message": "Expression has type \"Any\" ",
20023
+ "message": "Expression type contains \"Any\" ( has type \"Any | list[Any]\") ",
19982
20024
"offset": 0,
19983
20025
"target": "mypy.stubtest.verify_mypyfile"
19984
20026
},
23906
23948
"message": "Base type Suite becomes \"Any (from unimported type)\" due to an unfollowed import",
23907
23949
"offset": 0,
23908
23950
"target": "mypy.test.testinfer"
23909
- },
23910
- {
23911
- "code": "no-any-expr",
23912
- "column": 8,
23913
- "message": "Expression type contains \"Any\" (has type \"dict[int, tuple[Any, ...]]\")",
23914
- "offset": 22,
23915
- "target": "mypy.test.testinfer.OperandComparisonGroupingSuite.test_basic_cases"
23916
- },
23917
- {
23918
- "code": "no-any-expr",
23919
- "column": 26,
23920
- "message": "Expression type contains \"Any\" (has type \"list[dict[int, tuple[Any, ...]]]\")",
23921
- "offset": 0,
23922
- "target": "mypy.test.testinfer.OperandComparisonGroupingSuite.test_basic_cases"
23923
- },
23924
- {
23925
- "code": "no-any-expr",
23926
- "column": 55,
23927
- "message": "Expression type contains \"Any\" (has type \"dict[int, tuple[Any, ...]]\")",
23928
- "offset": 2,
23929
- "target": "mypy.test.testinfer.OperandComparisonGroupingSuite.test_basic_cases"
23930
- },
23931
- {
23932
- "code": "no-any-expr",
23933
- "column": 55,
23934
- "message": "Expression type contains \"Any\" (has type \"dict[int, tuple[Any, ...]]\")",
23935
- "offset": 4,
23936
- "target": "mypy.test.testinfer.OperandComparisonGroupingSuite.test_basic_cases"
23937
- },
23938
- {
23939
- "code": "no-any-expr",
23940
- "column": 55,
23941
- "message": "Expression type contains \"Any\" (has type \"dict[int, tuple[Any, ...]]\")",
23942
- "offset": 4,
23943
- "target": "mypy.test.testinfer.OperandComparisonGroupingSuite.test_basic_cases"
23944
- },
23945
- {
23946
- "code": "no-any-expr",
23947
- "column": 55,
23948
- "message": "Expression type contains \"Any\" (has type \"dict[int, tuple[Any, ...]]\")",
23949
- "offset": 4,
23950
- "target": "mypy.test.testinfer.OperandComparisonGroupingSuite.test_basic_cases"
23951
23951
}
23952
23952
],
23953
23953
"mypy/test/testmerge.py": [
31424
31424
{
31425
31425
"code": "no-any-expr",
31426
31426
"column": 20,
31427
- "message": "Expression has type \"Any\" ",
31427
+ "message": "Expression type contains \"Any\" ( has type \"Any | bool\") ",
31428
31428
"offset": 0,
31429
31429
"target": "mypyc.test.test_run.TestRun.run_case_step"
31430
31430
},
31438
31438
{
31439
31439
"code": "no-any-expr",
31440
31440
"column": 43,
31441
- "message": "Expression has type \"Any\" ",
31441
+ "message": "Expression type contains \"Any\" ( has type \"Any | bool\") ",
31442
31442
"offset": 0,
31443
31443
"target": "mypyc.test.test_run.TestRun.run_case_step"
31444
31444
},
31466
31466
{
31467
31467
"code": "no-any-expr",
31468
31468
"column": 40,
31469
- "message": "Expression has type \"Any\" ",
31469
+ "message": "Expression type contains \"Any\" ( has type \"Any | bool\") ",
31470
31470
"offset": 22,
31471
31471
"target": "mypyc.test.test_run.TestRun.run_case_step"
31472
31472
},
0 commit comments