diff --git a/.basedpyright/baseline.json b/.basedpyright/baseline.json index 2fbd21647..a085196c0 100644 --- a/.basedpyright/baseline.json +++ b/.basedpyright/baseline.json @@ -273,14 +273,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 4, - "endColumn": 16, - "lineCount": 1 - } - }, { "code": "reportUnknownParameterType", "range": { @@ -297,22 +289,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 4, - "endColumn": 6, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 9, - "endColumn": 14, - "lineCount": 1 - } - }, { "code": "reportUnknownMemberType", "range": { @@ -329,22 +305,6 @@ "lineCount": 1 } }, - { - "code": "reportArgumentType", - "range": { - "startColumn": 29, - "endColumn": 31, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 11, - "endColumn": 27, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -353,14 +313,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 24, - "endColumn": 26, - "lineCount": 1 - } - }, { "code": "reportUnknownParameterType", "range": { @@ -505,14 +457,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 16, - "lineCount": 1 - } - }, { "code": "reportUnknownVariableType", "range": { @@ -641,14 +585,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 16, - "lineCount": 1 - } - }, { "code": "reportUnknownVariableType", "range": { @@ -931,14 +867,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 8, - "endColumn": 14, - "lineCount": 1 - } - }, { "code": "reportCallIssue", "range": { @@ -955,22 +883,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 15, - "endColumn": 20, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 15, - "endColumn": 56, - "lineCount": 1 - } - }, { "code": "reportArgumentType", "range": { @@ -979,14 +891,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 4, - "endColumn": 6, - "lineCount": 1 - } - }, { "code": "reportUnknownVariableType", "range": { @@ -1004,51 +908,35 @@ } }, { - "code": "reportUnknownArgumentType", + "code": "reportCallIssue", "range": { - "startColumn": 24, - "endColumn": 26, - "lineCount": 1 + "startColumn": 12, + "endColumn": 41, + "lineCount": 3 } }, { "code": "reportUnknownArgumentType", "range": { - "startColumn": 30, - "endColumn": 35, - "lineCount": 1 + "startColumn": 12, + "endColumn": 41, + "lineCount": 3 } }, { - "code": "reportUnknownArgumentType", + "code": "reportCallIssue", "range": { - "startColumn": 24, - "endColumn": 26, - "lineCount": 1 + "startColumn": 12, + "endColumn": 41, + "lineCount": 3 } }, { "code": "reportUnknownArgumentType", "range": { - "startColumn": 30, - "endColumn": 35, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 4, - "endColumn": 7, - "lineCount": 1 - } - }, - { - "code": "reportOperatorIssue", - "range": { - "startColumn": 10, - "endColumn": 35, - "lineCount": 1 + "startColumn": 12, + "endColumn": 41, + "lineCount": 3 } }, { @@ -1067,38 +955,6 @@ "lineCount": 1 } }, - { - "code": "reportAny", - "range": { - "startColumn": 41, - "endColumn": 70, - "lineCount": 1 - } - }, - { - "code": "reportCallIssue", - "range": { - "startColumn": 50, - "endColumn": 61, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 50, - "endColumn": 69, - "lineCount": 1 - } - }, - { - "code": "reportArgumentType", - "range": { - "startColumn": 57, - "endColumn": 60, - "lineCount": 1 - } - }, { "code": "reportAny", "range": { @@ -1206,35 +1062,11 @@ } }, { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 22, - "endColumn": 27, - "lineCount": 1 - } - }, - { - "code": "reportArgumentType", - "range": { - "startColumn": 37, - "endColumn": 39, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 18, - "endColumn": 23, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", + "code": "reportOperatorIssue", "range": { - "startColumn": 4, - "endColumn": 12, - "lineCount": 1 + "startColumn": 21, + "endColumn": 17, + "lineCount": 6 } }, { @@ -1374,10 +1206,18 @@ } }, { - "code": "reportUnknownMemberType", + "code": "reportOperatorIssue", "range": { - "startColumn": 18, - "endColumn": 23, + "startColumn": 25, + "endColumn": 70, + "lineCount": 3 + } + }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 61, + "endColumn": 72, "lineCount": 1 } }, @@ -1390,10 +1230,50 @@ } }, { - "code": "reportUnknownMemberType", + "code": "reportArgumentType", "range": { - "startColumn": 14, - "endColumn": 19, + "startColumn": 61, + "endColumn": 72, + "lineCount": 1 + } + }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 57, + "endColumn": 68, + "lineCount": 1 + } + }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 57, + "endColumn": 68, + "lineCount": 1 + } + }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 57, + "endColumn": 68, + "lineCount": 1 + } + }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 57, + "endColumn": 68, + "lineCount": 1 + } + }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 57, + "endColumn": 68, "lineCount": 1 } }, @@ -1462,29 +1342,77 @@ } }, { - "code": "reportUnknownMemberType", + "code": "reportCallIssue", "range": { - "startColumn": 25, - "endColumn": 30, - "lineCount": 1 + "startColumn": 12, + "endColumn": 41, + "lineCount": 2 } }, { "code": "reportUnknownArgumentType", "range": { - "startColumn": 25, - "endColumn": 74, + "startColumn": 12, + "endColumn": 41, + "lineCount": 2 + } + }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 62, + "endColumn": 73, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportArgumentType", "range": { - "startColumn": 28, - "endColumn": 40, + "startColumn": 62, + "endColumn": 73, "lineCount": 1 } }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 62, + "endColumn": 73, + "lineCount": 1 + } + }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 62, + "endColumn": 73, + "lineCount": 1 + } + }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 62, + "endColumn": 73, + "lineCount": 1 + } + }, + { + "code": "reportCallIssue", + "range": { + "startColumn": 16, + "endColumn": 59, + "lineCount": 2 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 16, + "endColumn": 59, + "lineCount": 2 + } + }, { "code": "reportUnknownArgumentType", "range": { @@ -1600,35 +1528,11 @@ } }, { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 16, - "endColumn": 21, - "lineCount": 1 - } - }, - { - "code": "reportArgumentType", - "range": { - "startColumn": 65, - "endColumn": 67, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 18, - "endColumn": 23, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", + "code": "reportOperatorIssue", "range": { - "startColumn": 4, - "endColumn": 12, - "lineCount": 1 + "startColumn": 21, + "endColumn": 17, + "lineCount": 4 } }, { @@ -1744,10 +1648,18 @@ } }, { - "code": "reportUnknownMemberType", + "code": "reportOperatorIssue", "range": { - "startColumn": 12, - "endColumn": 17, + "startColumn": 25, + "endColumn": 61, + "lineCount": 3 + } + }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 46, + "endColumn": 57, "lineCount": 1 } }, @@ -1760,10 +1672,66 @@ } }, { - "code": "reportUnknownMemberType", + "code": "reportArgumentType", "range": { - "startColumn": 14, - "endColumn": 19, + "startColumn": 46, + "endColumn": 57, + "lineCount": 1 + } + }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 48, + "endColumn": 59, + "lineCount": 1 + } + }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 48, + "endColumn": 59, + "lineCount": 1 + } + }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 48, + "endColumn": 59, + "lineCount": 1 + } + }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 48, + "endColumn": 59, + "lineCount": 1 + } + }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 48, + "endColumn": 59, + "lineCount": 1 + } + }, + { + "code": "reportCallIssue", + "range": { + "startColumn": 16, + "endColumn": 67, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 16, + "endColumn": 67, "lineCount": 1 } }, @@ -1849,38 +1817,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 4, - "endColumn": 15, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 18, - "endColumn": 23, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 4, - "endColumn": 12, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 28, - "endColumn": 39, - "lineCount": 1 - } - }, { "code": "reportUnknownVariableType", "range": { @@ -1962,13 +1898,61 @@ } }, { - "code": "reportUnknownMemberType", + "code": "reportArgumentType", "range": { - "startColumn": 14, - "endColumn": 19, + "startColumn": 41, + "endColumn": 52, + "lineCount": 1 + } + }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 41, + "endColumn": 52, + "lineCount": 1 + } + }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 41, + "endColumn": 52, "lineCount": 1 } }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 41, + "endColumn": 52, + "lineCount": 1 + } + }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 41, + "endColumn": 52, + "lineCount": 1 + } + }, + { + "code": "reportCallIssue", + "range": { + "startColumn": 12, + "endColumn": 55, + "lineCount": 2 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 12, + "endColumn": 55, + "lineCount": 2 + } + }, { "code": "reportUnknownArgumentType", "range": { @@ -2091,22 +2075,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 4, - "endColumn": 6, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 9, - "endColumn": 14, - "lineCount": 1 - } - }, { "code": "reportUnknownMemberType", "range": { @@ -2164,19 +2132,19 @@ } }, { - "code": "reportUnknownArgumentType", + "code": "reportCallIssue", "range": { - "startColumn": 25, - "endColumn": 27, - "lineCount": 1 + "startColumn": 12, + "endColumn": 39, + "lineCount": 2 } }, { "code": "reportUnknownArgumentType", "range": { - "startColumn": 28, - "endColumn": 33, - "lineCount": 1 + "startColumn": 12, + "endColumn": 39, + "lineCount": 2 } }, { @@ -2317,14 +2285,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 8, - "endColumn": 10, - "lineCount": 1 - } - }, { "code": "reportUnknownParameterType", "range": { @@ -2349,22 +2309,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 15, - "endColumn": 20, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 15, - "endColumn": 56, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -2462,35 +2406,19 @@ } }, { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 4, - "endColumn": 17, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 33, - "endColumn": 37, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", + "code": "reportCallIssue", "range": { - "startColumn": 29, - "endColumn": 42, + "startColumn": 16, + "endColumn": 67, "lineCount": 4 } }, { "code": "reportUnknownArgumentType", "range": { - "startColumn": 56, - "endColumn": 61, - "lineCount": 1 + "startColumn": 16, + "endColumn": 67, + "lineCount": 4 } }, { @@ -2807,46 +2735,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 4, - "endColumn": 9, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 12, - "endColumn": 17, - "lineCount": 1 - } - }, - { - "code": "reportArgumentType", - "range": { - "startColumn": 70, - "endColumn": 72, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 4, - "endColumn": 9, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 12, - "endColumn": 17, - "lineCount": 1 - } - }, { "code": "reportUnknownVariableType", "range": { @@ -2856,10 +2744,10 @@ } }, { - "code": "reportUnknownVariableType", + "code": "reportOperatorIssue", "range": { - "startColumn": 4, - "endColumn": 12, + "startColumn": 51, + "endColumn": 72, "lineCount": 1 } }, @@ -2944,18 +2832,10 @@ } }, { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 4, - "endColumn": 10, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", + "code": "reportArgumentType", "range": { - "startColumn": 13, - "endColumn": 18, + "startColumn": 47, + "endColumn": 58, "lineCount": 1 } }, @@ -2968,42 +2848,26 @@ } }, { - "code": "reportUnknownVariableType", + "code": "reportCallIssue", "range": { "startColumn": 4, - "endColumn": 12, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 28, - "endColumn": 34, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 25, - "endColumn": 30, + "endColumn": 36, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportCallIssue", "range": { - "startColumn": 25, - "endColumn": 30, + "startColumn": 4, + "endColumn": 36, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportCallIssue", "range": { - "startColumn": 25, - "endColumn": 30, + "startColumn": 4, + "endColumn": 36, "lineCount": 1 } }, @@ -3055,6 +2919,62 @@ "lineCount": 1 } }, + { + "code": "reportAttributeAccessIssue", + "range": { + "startColumn": 24, + "endColumn": 28, + "lineCount": 1 + } + }, + { + "code": "reportAttributeAccessIssue", + "range": { + "startColumn": 24, + "endColumn": 28, + "lineCount": 1 + } + }, + { + "code": "reportAttributeAccessIssue", + "range": { + "startColumn": 24, + "endColumn": 28, + "lineCount": 1 + } + }, + { + "code": "reportAttributeAccessIssue", + "range": { + "startColumn": 24, + "endColumn": 28, + "lineCount": 1 + } + }, + { + "code": "reportAttributeAccessIssue", + "range": { + "startColumn": 24, + "endColumn": 28, + "lineCount": 1 + } + }, + { + "code": "reportAttributeAccessIssue", + "range": { + "startColumn": 24, + "endColumn": 28, + "lineCount": 1 + } + }, + { + "code": "reportCallIssue", + "range": { + "startColumn": 29, + "endColumn": 45, + "lineCount": 1 + } + }, { "code": "reportUnknownArgumentType", "range": { @@ -3193,14 +3113,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 4, - "endColumn": 12, - "lineCount": 1 - } - }, { "code": "reportUnknownParameterType", "range": { @@ -3234,26 +3146,26 @@ } }, { - "code": "reportCallIssue", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 11, - "endColumn": 43, + "startColumn": 24, + "endColumn": 29, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 11, - "endColumn": 43, + "startColumn": 41, + "endColumn": 42, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportUnknownParameterType", "range": { - "startColumn": 24, - "endColumn": 29, + "startColumn": 4, + "endColumn": 14, "lineCount": 1 } }, @@ -3329,6 +3241,14 @@ "lineCount": 1 } }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 11, + "endColumn": 66, + "lineCount": 2 + } + }, { "code": "reportUnknownArgumentType", "range": { @@ -3337,6 +3257,14 @@ "lineCount": 1 } }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 12, + "endColumn": 65, + "lineCount": 1 + } + }, { "code": "reportUnknownMemberType", "range": { @@ -3506,26 +3434,26 @@ } }, { - "code": "reportUnknownArgumentType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 29, - "endColumn": 34, + "startColumn": 8, + "endColumn": 15, "lineCount": 1 } }, { - "code": "reportCallIssue", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 15, - "endColumn": 35, + "startColumn": 29, + "endColumn": 34, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportArgumentType", "range": { - "startColumn": 15, - "endColumn": 42, + "startColumn": 33, + "endColumn": 34, "lineCount": 1 } }, @@ -3741,6 +3669,14 @@ "lineCount": 1 } }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 33, + "endColumn": 21, + "lineCount": 4 + } + }, { "code": "reportUnknownMemberType", "range": { @@ -5209,30 +5145,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 12, - "endColumn": 31, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 12, - "endColumn": 67, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 12, - "endColumn": 67, - "lineCount": 1 - } - }, { "code": "reportAny", "range": { @@ -8779,14 +8691,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 20, - "endColumn": 39, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -8899,14 +8803,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 20, - "endColumn": 76, - "lineCount": 2 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -8947,14 +8843,6 @@ "lineCount": 1 } }, - { - "code": "reportArgumentType", - "range": { - "startColumn": 39, - "endColumn": 46, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -24022,7 +23910,7 @@ } }, { - "code": "reportUnknownArgumentType", + "code": "reportArgumentType", "range": { "startColumn": 36, "endColumn": 51, @@ -24061,14 +23949,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 20, - "endColumn": 39, - "lineCount": 1 - } - }, { "code": "reportAny", "range": { @@ -28009,14 +27889,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 20, - "endColumn": 39, - "lineCount": 1 - } - }, { "code": "reportUnknownMemberType", "range": { @@ -33291,14 +33163,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 16, - "endColumn": 35, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -35376,7 +35240,7 @@ } }, { - "code": "reportUnknownArgumentType", + "code": "reportArgumentType", "range": { "startColumn": 27, "endColumn": 30, @@ -38547,14 +38411,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 50, - "endColumn": 70, - "lineCount": 1 - } - }, { "code": "reportUnknownVariableType", "range": { @@ -41265,6 +41121,14 @@ "lineCount": 1 } }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 16, + "endColumn": 26, + "lineCount": 1 + } + }, { "code": "reportUnknownVariableType", "range": { @@ -41297,6 +41161,14 @@ "lineCount": 1 } }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 16, + "endColumn": 26, + "lineCount": 1 + } + }, { "code": "reportUnknownVariableType", "range": { @@ -45444,37 +45316,13 @@ } }, { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 50, - "endColumn": 70, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", + "code": "reportArgumentType", "range": { "startColumn": 28, "endColumn": 36, "lineCount": 1 } }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 24, - "endColumn": 25, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 27, - "endColumn": 35, - "lineCount": 1 - } - }, { "code": "reportUnannotatedClassAttribute", "range": { @@ -46363,6 +46211,14 @@ "lineCount": 1 } }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 33, + "endColumn": 21, + "lineCount": 4 + } + }, { "code": "reportUnknownMemberType", "range": { @@ -50805,14 +50661,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 38, - "endColumn": 57, - "lineCount": 1 - } - }, { "code": "reportUnknownMemberType", "range": { @@ -50829,14 +50677,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 40, - "endColumn": 36, - "lineCount": 4 - } - }, { "code": "reportUnknownMemberType", "range": { @@ -51045,14 +50885,6 @@ "lineCount": 1 } }, - { - "code": "reportArgumentType", - "range": { - "startColumn": 36, - "endColumn": 43, - "lineCount": 1 - } - }, { "code": "reportAny", "range": { @@ -51773,14 +51605,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 38, - "endColumn": 57, - "lineCount": 1 - } - }, { "code": "reportUnknownMemberType", "range": { @@ -51797,14 +51621,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 40, - "endColumn": 36, - "lineCount": 4 - } - }, { "code": "reportUnknownMemberType", "range": { @@ -52013,14 +51829,6 @@ "lineCount": 1 } }, - { - "code": "reportArgumentType", - "range": { - "startColumn": 36, - "endColumn": 43, - "lineCount": 1 - } - }, { "code": "reportAny", "range": { @@ -52567,30 +52375,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 9, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 20, - "endColumn": 25, - "lineCount": 1 - } - }, - { - "code": "reportArgumentType", - "range": { - "startColumn": 33, - "endColumn": 35, - "lineCount": 1 - } - }, { "code": "reportReturnType", "range": { @@ -52599,14 +52383,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 19, - "endColumn": 27, - "lineCount": 1 - } - }, { "code": "reportReturnType", "range": { @@ -52615,38 +52391,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 19, - "endColumn": 30, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 9, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 20, - "endColumn": 25, - "lineCount": 1 - } - }, - { - "code": "reportArgumentType", - "range": { - "startColumn": 33, - "endColumn": 35, - "lineCount": 1 - } - }, { "code": "reportReturnType", "range": { @@ -52655,14 +52399,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 19, - "endColumn": 23, - "lineCount": 1 - } - }, { "code": "reportUnknownParameterType", "range": { @@ -52714,112 +52450,48 @@ { "code": "reportUnknownVariableType", "range": { - "startColumn": 8, - "endColumn": 10, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 21, - "endColumn": 26, - "lineCount": 1 - } - }, - { - "code": "reportArgumentType", - "range": { - "startColumn": 51, - "endColumn": 53, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 10, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 21, - "endColumn": 26, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 22, - "endColumn": 28, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 22, - "endColumn": 28, + "startColumn": 12, + "endColumn": 14, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportOperatorIssue", "range": { - "startColumn": 8, - "endColumn": 9, - "lineCount": 1 + "startColumn": 17, + "endColumn": 21, + "lineCount": 8 } }, { - "code": "reportUnknownMemberType", + "code": "reportOperatorIssue", "range": { "startColumn": 20, - "endColumn": 25, - "lineCount": 1 - } - }, - { - "code": "reportArgumentType", - "range": { - "startColumn": 49, - "endColumn": 51, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 21, - "endColumn": 27, - "lineCount": 1 + "endColumn": 42, + "lineCount": 3 } }, { - "code": "reportUnknownMemberType", + "code": "reportOperatorIssue", "range": { - "startColumn": 22, - "endColumn": 29, - "lineCount": 1 + "startColumn": 20, + "endColumn": 48, + "lineCount": 4 } }, { - "code": "reportUnknownVariableType", + "code": "reportOperatorIssue", "range": { - "startColumn": 12, - "endColumn": 14, - "lineCount": 1 + "startColumn": 20, + "endColumn": 35, + "lineCount": 5 } }, { "code": "reportUnknownArgumentType", "range": { - "startColumn": 25, - "endColumn": 34, + "startColumn": 24, + "endColumn": 41, "lineCount": 1 } }, @@ -52827,12 +52499,12 @@ "code": "reportOperatorIssue", "range": { "startColumn": 24, - "endColumn": 41, + "endColumn": 47, "lineCount": 1 } }, { - "code": "reportOperatorIssue", + "code": "reportUnknownArgumentType", "range": { "startColumn": 24, "endColumn": 47, @@ -52850,9 +52522,9 @@ { "code": "reportOperatorIssue", "range": { - "startColumn": 20, - "endColumn": 37, - "lineCount": 2 + "startColumn": 17, + "endColumn": 21, + "lineCount": 7 } }, { @@ -52882,8 +52554,16 @@ { "code": "reportOperatorIssue", "range": { - "startColumn": 22, - "endColumn": 42, + "startColumn": 26, + "endColumn": 46, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 26, + "endColumn": 46, "lineCount": 1 } }, @@ -52984,103 +52664,63 @@ } }, { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 9, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 20, - "endColumn": 25, - "lineCount": 1 - } - }, - { - "code": "reportArgumentType", - "range": { - "startColumn": 49, - "endColumn": 51, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", + "code": "reportReturnType", "range": { - "startColumn": 21, - "endColumn": 27, + "startColumn": 19, + "endColumn": 81, "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportReturnType", "range": { - "startColumn": 22, - "endColumn": 29, + "startColumn": 19, + "endColumn": 81, "lineCount": 1 } }, { "code": "reportUnknownVariableType", "range": { - "startColumn": 8, - "endColumn": 9, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 20, - "endColumn": 25, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 21, - "endColumn": 27, + "startColumn": 12, + "endColumn": 14, "lineCount": 1 } }, { - "code": "reportReturnType", + "code": "reportOperatorIssue", "range": { - "startColumn": 19, - "endColumn": 81, - "lineCount": 1 + "startColumn": 17, + "endColumn": 21, + "lineCount": 7 } }, { - "code": "reportReturnType", + "code": "reportOperatorIssue", "range": { - "startColumn": 19, - "endColumn": 81, - "lineCount": 1 + "startColumn": 20, + "endColumn": 47, + "lineCount": 3 } }, { - "code": "reportUnknownVariableType", + "code": "reportOperatorIssue", "range": { - "startColumn": 12, - "endColumn": 14, - "lineCount": 1 + "startColumn": 20, + "endColumn": 42, + "lineCount": 4 } }, { - "code": "reportUnknownArgumentType", + "code": "reportOperatorIssue", "range": { "startColumn": 24, - "endColumn": 32, + "endColumn": 46, "lineCount": 1 } }, { - "code": "reportOperatorIssue", + "code": "reportUnknownArgumentType", "range": { "startColumn": 24, "endColumn": 46, @@ -53088,7 +52728,7 @@ } }, { - "code": "reportOperatorIssue", + "code": "reportUnknownArgumentType", "range": { "startColumn": 24, "endColumn": 41, @@ -53096,7 +52736,7 @@ } }, { - "code": "reportUnknownArgumentType", + "code": "reportArgumentType", "range": { "startColumn": 27, "endColumn": 35, @@ -53111,14 +52751,6 @@ "lineCount": 1 } }, - { - "code": "reportOperatorIssue", - "range": { - "startColumn": 20, - "endColumn": 35, - "lineCount": 2 - } - }, { "code": "reportOperatorIssue", "range": { @@ -53130,21 +52762,21 @@ { "code": "reportOperatorIssue", "range": { - "startColumn": 22, - "endColumn": 52, - "lineCount": 1 + "startColumn": 20, + "endColumn": 42, + "lineCount": 4 } }, { "code": "reportOperatorIssue", "range": { "startColumn": 22, - "endColumn": 42, + "endColumn": 52, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportArgumentType", "range": { "startColumn": 25, "endColumn": 36, @@ -53377,14 +53009,6 @@ "lineCount": 8 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 31, - "endColumn": 36, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -53401,14 +53025,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 33, - "endColumn": 38, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -53433,14 +53049,6 @@ "lineCount": 6 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 29, - "endColumn": 34, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -53697,14 +53305,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 39, - "endColumn": 60, - "lineCount": 1 - } - }, { "code": "reportUnknownVariableType", "range": { @@ -53803,38 +53403,6 @@ } ], "./pytential/symbolic/pde/maxwell/__init__.py": [ - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 0, - "endColumn": 17, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 20, - "endColumn": 41, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 0, - "endColumn": 17, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 20, - "endColumn": 41, - "lineCount": 1 - } - }, { "code": "reportPrivateLocalImportUsage", "range": { @@ -53892,18 +53460,10 @@ } }, { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 8, - "endColumn": 16, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", + "code": "reportArgumentType", "range": { "startColumn": 17, - "endColumn": 22, + "endColumn": 64, "lineCount": 1 } }, @@ -53931,14 +53491,6 @@ "lineCount": 1 } }, - { - "code": "reportArgumentType", - "range": { - "startColumn": 59, - "endColumn": 63, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -53947,14 +53499,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 8, - "endColumn": 16, - "lineCount": 1 - } - }, { "code": "reportUnknownParameterType", "range": { @@ -54187,14 +53731,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 37, - "endColumn": 46, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -54300,27 +53836,11 @@ } }, { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 31, - "endColumn": 42, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 20, - "endColumn": 28, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", + "code": "reportArgumentType", "range": { "startColumn": 29, - "endColumn": 34, - "lineCount": 1 + "endColumn": 47, + "lineCount": 2 } }, { @@ -54332,10 +53852,10 @@ } }, { - "code": "reportArgumentType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 41, - "endColumn": 46, + "startColumn": 56, + "endColumn": 62, "lineCount": 1 } }, @@ -54355,14 +53875,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 33, - "endColumn": 44, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -54420,23 +53932,23 @@ } }, { - "code": "reportUnknownMemberType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 27, - "endColumn": 33, + "startColumn": 29, + "endColumn": 32, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportUnknownMemberType", "range": { - "startColumn": 29, - "endColumn": 32, + "startColumn": 36, + "endColumn": 42, "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportUnknownArgumentType", "range": { "startColumn": 36, "endColumn": 42, @@ -54499,14 +54011,6 @@ "lineCount": 5 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 16, - "endColumn": 25, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -54524,19 +54028,11 @@ } }, { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 28, - "endColumn": 37, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", + "code": "reportArgumentType", "range": { "startColumn": 38, "endColumn": 43, - "lineCount": 1 + "lineCount": 4 } }, { @@ -54548,10 +54044,10 @@ } }, { - "code": "reportArgumentType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 37, - "endColumn": 42, + "startColumn": 41, + "endColumn": 47, "lineCount": 1 } }, @@ -54611,14 +54107,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 23, - "endColumn": 44, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -54627,24 +54115,16 @@ "lineCount": 1 } }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 9, - "lineCount": 1 - } - }, { "code": "reportUnknownMemberType", "range": { - "startColumn": 12, - "endColumn": 17, + "startColumn": 39, + "endColumn": 45, "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportUnknownArgumentType", "range": { "startColumn": 39, "endColumn": 45, @@ -54652,7 +54132,7 @@ } }, { - "code": "reportArgumentType", + "code": "reportUnknownArgumentType", "range": { "startColumn": 64, "endColumn": 80, @@ -54660,31 +54140,23 @@ } }, { - "code": "reportUnknownVariableType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 8, - "endColumn": 11, + "startColumn": 33, + "endColumn": 36, "lineCount": 1 } }, { "code": "reportUnknownMemberType", "range": { - "startColumn": 14, - "endColumn": 19, + "startColumn": 40, + "endColumn": 46, "lineCount": 1 } }, { "code": "reportUnknownArgumentType", - "range": { - "startColumn": 33, - "endColumn": 36, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", "range": { "startColumn": 40, "endColumn": 46, @@ -54692,7 +54164,7 @@ } }, { - "code": "reportArgumentType", + "code": "reportUnknownArgumentType", "range": { "startColumn": 65, "endColumn": 81, @@ -54707,6 +54179,14 @@ "lineCount": 1 } }, + { + "code": "reportOperatorIssue", + "range": { + "startColumn": 17, + "endColumn": 47, + "lineCount": 1 + } + }, { "code": "reportUnknownMemberType", "range": { @@ -54716,7 +54196,7 @@ } }, { - "code": "reportUnknownArgumentType", + "code": "reportArgumentType", "range": { "startColumn": 43, "endColumn": 46, @@ -54724,10 +54204,10 @@ } }, { - "code": "reportUnknownMemberType", + "code": "reportArgumentType", "range": { - "startColumn": 17, - "endColumn": 25, + "startColumn": 26, + "endColumn": 27, "lineCount": 1 } }, @@ -55083,30 +54563,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 9, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 20, - "endColumn": 25, - "lineCount": 1 - } - }, - { - "code": "reportArgumentType", - "range": { - "startColumn": 57, - "endColumn": 62, - "lineCount": 1 - } - }, { "code": "reportUnknownParameterType", "range": { @@ -55140,18 +54596,10 @@ } }, { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 19, - "endColumn": 27, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", + "code": "reportArgumentType", "range": { "startColumn": 28, - "endColumn": 33, + "endColumn": 81, "lineCount": 1 } }, @@ -55163,14 +54611,6 @@ "lineCount": 1 } }, - { - "code": "reportArgumentType", - "range": { - "startColumn": 70, - "endColumn": 75, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -55220,7 +54660,7 @@ } }, { - "code": "reportUnknownArgumentType", + "code": "reportArgumentType", "range": { "startColumn": 44, "endColumn": 60, @@ -55292,7 +54732,7 @@ } }, { - "code": "reportUnknownArgumentType", + "code": "reportArgumentType", "range": { "startColumn": 45, "endColumn": 61, @@ -55364,7 +54804,7 @@ } }, { - "code": "reportUnknownArgumentType", + "code": "reportArgumentType", "range": { "startColumn": 44, "endColumn": 60, @@ -55436,7 +54876,7 @@ } }, { - "code": "reportUnknownArgumentType", + "code": "reportArgumentType", "range": { "startColumn": 45, "endColumn": 61, @@ -55467,14 +54907,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 32, - "endColumn": 43, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -55499,14 +54931,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 14, - "endColumn": 23, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -55523,14 +54947,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 32, - "endColumn": 43, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -55555,14 +54971,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 14, - "endColumn": 23, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -55643,14 +55051,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 30, - "endColumn": 41, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -55659,22 +55059,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 12, - "endColumn": 21, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 12, - "endColumn": 36, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -55683,14 +55067,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 30, - "endColumn": 41, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -55699,22 +55075,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 12, - "endColumn": 21, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 12, - "endColumn": 36, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -55787,14 +55147,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 23, - "endColumn": 44, - "lineCount": 1 - } - }, { "code": "reportUnknownMemberType", "range": { @@ -55819,14 +55171,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 23, - "endColumn": 44, - "lineCount": 1 - } - }, { "code": "reportUnknownMemberType", "range": { @@ -55875,30 +55219,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 9, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 20, - "endColumn": 25, - "lineCount": 1 - } - }, - { - "code": "reportArgumentType", - "range": { - "startColumn": 57, - "endColumn": 61, - "lineCount": 1 - } - }, { "code": "reportUnknownParameterType", "range": { @@ -55916,18 +55236,10 @@ } }, { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 19, - "endColumn": 27, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", + "code": "reportArgumentType", "range": { "startColumn": 28, - "endColumn": 33, + "endColumn": 80, "lineCount": 1 } }, @@ -55939,14 +55251,6 @@ "lineCount": 1 } }, - { - "code": "reportArgumentType", - "range": { - "startColumn": 70, - "endColumn": 74, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -55964,7 +55268,7 @@ } }, { - "code": "reportUnknownArgumentType", + "code": "reportArgumentType", "range": { "startColumn": 55, "endColumn": 65, @@ -55996,7 +55300,7 @@ } }, { - "code": "reportUnknownArgumentType", + "code": "reportArgumentType", "range": { "startColumn": 56, "endColumn": 66, @@ -56389,14 +55693,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 8, - "endColumn": 9, - "lineCount": 1 - } - }, { "code": "reportUnknownParameterType", "range": { @@ -56437,22 +55733,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 15, - "endColumn": 20, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 15, - "endColumn": 50, - "lineCount": 4 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -56477,14 +55757,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 8, - "endColumn": 9, - "lineCount": 1 - } - }, { "code": "reportUnknownParameterType", "range": { @@ -56525,22 +55797,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 15, - "endColumn": 20, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 15, - "endColumn": 50, - "lineCount": 4 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -56558,10 +55814,10 @@ } }, { - "code": "reportUnknownParameterType", + "code": "reportArgumentType", "range": { - "startColumn": 8, - "endColumn": 9, + "startColumn": 33, + "endColumn": 49, "lineCount": 1 } }, @@ -56613,30 +55869,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 15, - "endColumn": 32, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 15, - "endColumn": 44, - "lineCount": 8 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 15, - "endColumn": 47, - "lineCount": 8 - } - }, { "code": "reportUnknownMemberType", "range": { @@ -56902,15 +56134,15 @@ } }, { - "code": "reportUnknownMemberType", + "code": "reportOperatorIssue", "range": { - "startColumn": 23, - "endColumn": 32, - "lineCount": 1 + "startColumn": 24, + "endColumn": 36, + "lineCount": 2 } }, { - "code": "reportOperatorIssue", + "code": "reportArgumentType", "range": { "startColumn": 24, "endColumn": 36, @@ -57037,14 +56269,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 37, - "endColumn": 55, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -57133,14 +56357,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 38, - "endColumn": 56, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -57285,14 +56501,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 36, - "endColumn": 54, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -57381,14 +56589,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 36, - "endColumn": 54, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -57765,14 +56965,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 16, - "endColumn": 18, - "lineCount": 1 - } - }, { "code": "reportUnknownParameterType", "range": { @@ -57821,22 +57013,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 23, - "endColumn": 64, - "lineCount": 2 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 23, - "endColumn": 67, - "lineCount": 2 - } - }, { "code": "reportUnknownMemberType", "range": { @@ -57845,14 +57021,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 27, - "endColumn": 54, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -57877,78 +57045,6 @@ "lineCount": 1 } }, - { - "code": "reportAttributeAccessIssue", - "range": { - "startColumn": 56, - "endColumn": 64, - "lineCount": 1 - } - }, - { - "code": "reportAttributeAccessIssue", - "range": { - "startColumn": 56, - "endColumn": 64, - "lineCount": 1 - } - }, - { - "code": "reportAttributeAccessIssue", - "range": { - "startColumn": 56, - "endColumn": 64, - "lineCount": 1 - } - }, - { - "code": "reportAttributeAccessIssue", - "range": { - "startColumn": 56, - "endColumn": 64, - "lineCount": 1 - } - }, - { - "code": "reportAttributeAccessIssue", - "range": { - "startColumn": 56, - "endColumn": 64, - "lineCount": 1 - } - }, - { - "code": "reportAttributeAccessIssue", - "range": { - "startColumn": 56, - "endColumn": 64, - "lineCount": 1 - } - }, - { - "code": "reportAttributeAccessIssue", - "range": { - "startColumn": 56, - "endColumn": 64, - "lineCount": 1 - } - }, - { - "code": "reportAttributeAccessIssue", - "range": { - "startColumn": 56, - "endColumn": 64, - "lineCount": 1 - } - }, - { - "code": "reportAttributeAccessIssue", - "range": { - "startColumn": 56, - "endColumn": 64, - "lineCount": 1 - } - }, { "code": "reportUnknownParameterType", "range": { @@ -57981,14 +57077,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 23, - "endColumn": 44, - "lineCount": 1 - } - }, { "code": "reportUnknownMemberType", "range": { @@ -58021,14 +57109,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 16, - "endColumn": 18, - "lineCount": 1 - } - }, { "code": "reportUnknownParameterType", "range": { @@ -58061,22 +57141,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 23, - "endColumn": 53, - "lineCount": 2 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 23, - "endColumn": 56, - "lineCount": 2 - } - }, { "code": "reportUnknownMemberType", "range": { @@ -58085,14 +57149,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 23, - "endColumn": 43, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -58109,78 +57165,6 @@ "lineCount": 1 } }, - { - "code": "reportAttributeAccessIssue", - "range": { - "startColumn": 45, - "endColumn": 53, - "lineCount": 1 - } - }, - { - "code": "reportAttributeAccessIssue", - "range": { - "startColumn": 45, - "endColumn": 53, - "lineCount": 1 - } - }, - { - "code": "reportAttributeAccessIssue", - "range": { - "startColumn": 45, - "endColumn": 53, - "lineCount": 1 - } - }, - { - "code": "reportAttributeAccessIssue", - "range": { - "startColumn": 45, - "endColumn": 53, - "lineCount": 1 - } - }, - { - "code": "reportAttributeAccessIssue", - "range": { - "startColumn": 45, - "endColumn": 53, - "lineCount": 1 - } - }, - { - "code": "reportAttributeAccessIssue", - "range": { - "startColumn": 45, - "endColumn": 53, - "lineCount": 1 - } - }, - { - "code": "reportAttributeAccessIssue", - "range": { - "startColumn": 45, - "endColumn": 53, - "lineCount": 1 - } - }, - { - "code": "reportAttributeAccessIssue", - "range": { - "startColumn": 45, - "endColumn": 53, - "lineCount": 1 - } - }, - { - "code": "reportAttributeAccessIssue", - "range": { - "startColumn": 45, - "endColumn": 53, - "lineCount": 1 - } - }, { "code": "reportUnknownVariableType", "range": { @@ -58326,7 +57310,7 @@ } }, { - "code": "reportUnknownArgumentType", + "code": "reportOperatorIssue", "range": { "startColumn": 26, "endColumn": 55, @@ -58365,14 +57349,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 12, - "endColumn": 15, - "lineCount": 1 - } - }, { "code": "reportPrivateLocalImportUsage", "range": { @@ -58381,22 +57357,6 @@ "lineCount": 1 } }, - { - "code": "reportOperatorIssue", - "range": { - "startColumn": 26, - "endColumn": 42, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 26, - "endColumn": 60, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -58557,14 +57517,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 12, - "endColumn": 15, - "lineCount": 1 - } - }, { "code": "reportPrivateLocalImportUsage", "range": { @@ -58573,14 +57525,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 20, - "endColumn": 70, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -58629,14 +57573,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 12, - "endColumn": 15, - "lineCount": 1 - } - }, { "code": "reportPrivateLocalImportUsage", "range": { @@ -58645,14 +57581,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 20, - "endColumn": 70, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -58701,14 +57629,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 12, - "endColumn": 15, - "lineCount": 1 - } - }, { "code": "reportPrivateLocalImportUsage", "range": { @@ -58717,14 +57637,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 29, - "endColumn": 67, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -58757,14 +57669,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 12, - "endColumn": 15, - "lineCount": 1 - } - }, { "code": "reportPrivateLocalImportUsage", "range": { @@ -58773,14 +57677,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 29, - "endColumn": 67, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -59632,7 +58528,7 @@ } }, { - "code": "reportUnknownVariableType", + "code": "reportOperatorIssue", "range": { "startColumn": 15, "endColumn": 17, @@ -59640,11 +58536,11 @@ } }, { - "code": "reportUnknownMemberType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 20, - "endColumn": 25, - "lineCount": 1 + "startColumn": 15, + "endColumn": 17, + "lineCount": 8 } }, { @@ -59696,26 +58592,58 @@ } }, { - "code": "reportUnknownMemberType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 20, - "endColumn": 25, + "startColumn": 39, + "endColumn": 51, "lineCount": 1 } }, { "code": "reportUnknownArgumentType", "range": { - "startColumn": 20, - "endColumn": 62, + "startColumn": 55, + "endColumn": 61, "lineCount": 1 } }, { "code": "reportUnknownArgumentType", "range": { - "startColumn": 39, - "endColumn": 51, + "startColumn": 55, + "endColumn": 61, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 55, + "endColumn": 61, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 55, + "endColumn": 61, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 55, + "endColumn": 61, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 55, + "endColumn": 61, "lineCount": 1 } }, @@ -59807,22 +58735,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 12, - "endColumn": 29, - "lineCount": 1 - } - }, - { - "code": "reportOperatorIssue", - "range": { - "startColumn": 32, - "endColumn": 80, - "lineCount": 2 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -59831,14 +58743,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 12, - "endColumn": 13, - "lineCount": 1 - } - }, { "code": "reportUnknownParameterType", "range": { @@ -59855,22 +58759,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 19, - "endColumn": 24, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 19, - "endColumn": 50, - "lineCount": 3 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -59879,14 +58767,6 @@ "lineCount": 1 } }, - { - "code": "reportArgumentType", - "range": { - "startColumn": 37, - "endColumn": 39, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -59914,13 +58794,13 @@ { "code": "reportUnknownParameterType", "range": { - "startColumn": 12, - "endColumn": 13, + "startColumn": 14, + "endColumn": 21, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportMissingParameterType", "range": { "startColumn": 14, "endColumn": 21, @@ -59928,34 +58808,42 @@ } }, { - "code": "reportMissingParameterType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 14, - "endColumn": 21, + "startColumn": 38, + "endColumn": 45, "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 19, - "endColumn": 24, + "startColumn": 46, + "endColumn": 52, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 19, - "endColumn": 53, - "lineCount": 3 + "startColumn": 46, + "endColumn": 52, + "lineCount": 1 } }, { "code": "reportUnknownArgumentType", "range": { - "startColumn": 38, - "endColumn": 45, + "startColumn": 46, + "endColumn": 52, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 46, + "endColumn": 52, "lineCount": 1 } }, @@ -59975,6 +58863,22 @@ "lineCount": 7 } }, + { + "code": "reportOperatorIssue", + "range": { + "startColumn": 52, + "endColumn": 21, + "lineCount": 5 + } + }, + { + "code": "reportOperatorIssue", + "range": { + "startColumn": 20, + "endColumn": 37, + "lineCount": 2 + } + }, { "code": "reportUnknownArgumentType", "range": { @@ -60167,22 +59071,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 41, - "endColumn": 46, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 41, - "endColumn": 81, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -60224,7 +59112,7 @@ } }, { - "code": "reportUnknownVariableType", + "code": "reportOperatorIssue", "range": { "startColumn": 15, "endColumn": 17, @@ -60232,11 +59120,11 @@ } }, { - "code": "reportUnknownMemberType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 20, - "endColumn": 25, - "lineCount": 1 + "startColumn": 15, + "endColumn": 17, + "lineCount": 8 } }, { @@ -60288,18 +59176,50 @@ } }, { - "code": "reportUnknownMemberType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 20, - "endColumn": 25, + "startColumn": 65, + "endColumn": 71, "lineCount": 1 } }, { "code": "reportUnknownArgumentType", "range": { - "startColumn": 20, - "endColumn": 72, + "startColumn": 65, + "endColumn": 71, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 65, + "endColumn": 71, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 65, + "endColumn": 71, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 65, + "endColumn": 71, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 65, + "endColumn": 71, "lineCount": 1 } }, @@ -60400,107 +59320,139 @@ } }, { - "code": "reportUnknownMemberType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 16, - "endColumn": 21, + "startColumn": 43, + "endColumn": 55, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 19, + "endColumn": 26, + "lineCount": 1 + } + }, + { + "code": "reportMissingParameterType", + "range": { + "startColumn": 19, + "endColumn": 26, "lineCount": 1 } }, { "code": "reportUnknownArgumentType", "range": { - "startColumn": 16, - "endColumn": 77, + "startColumn": 24, + "endColumn": 31, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 12, + "endColumn": 18, "lineCount": 1 } }, { "code": "reportUnknownArgumentType", "range": { - "startColumn": 43, - "endColumn": 55, + "startColumn": 39, + "endColumn": 51, "lineCount": 1 } }, { - "code": "reportArgumentType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 74, - "endColumn": 76, + "startColumn": 16, + "endColumn": 21, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportOperatorIssue", "range": { - "startColumn": 19, - "endColumn": 26, + "startColumn": 24, + "endColumn": 58, + "lineCount": 6 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 51, + "endColumn": 57, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 19, - "endColumn": 26, + "startColumn": 51, + "endColumn": 57, "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 23, - "endColumn": 29, + "startColumn": 51, + "endColumn": 57, "lineCount": 1 } }, { "code": "reportUnknownArgumentType", "range": { - "startColumn": 24, - "endColumn": 31, + "startColumn": 51, + "endColumn": 57, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 12, - "endColumn": 18, + "startColumn": 51, + "endColumn": 57, "lineCount": 1 } }, { "code": "reportUnknownArgumentType", "range": { - "startColumn": 39, - "endColumn": 51, + "startColumn": 51, + "endColumn": 57, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 16, - "endColumn": 21, + "startColumn": 51, + "endColumn": 57, "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 24, - "endColumn": 30, + "startColumn": 51, + "endColumn": 57, "lineCount": 1 } }, { - "code": "reportOperatorIssue", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 24, - "endColumn": 58, - "lineCount": 6 + "startColumn": 51, + "endColumn": 57, + "lineCount": 1 } }, { @@ -60512,10 +59464,10 @@ } }, { - "code": "reportUnknownMemberType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 26, - "endColumn": 32, + "startColumn": 51, + "endColumn": 57, "lineCount": 1 } }, @@ -60536,10 +59488,10 @@ } }, { - "code": "reportUnknownMemberType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 20, - "endColumn": 26, + "startColumn": 50, + "endColumn": 56, "lineCount": 1 } }, @@ -60552,19 +59504,35 @@ } }, { - "code": "reportUnknownVariableType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 12, - "endColumn": 29, + "startColumn": 50, + "endColumn": 56, "lineCount": 1 } }, { - "code": "reportOperatorIssue", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 32, - "endColumn": 80, - "lineCount": 2 + "startColumn": 50, + "endColumn": 56, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 50, + "endColumn": 56, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 50, + "endColumn": 56, + "lineCount": 1 } }, { @@ -60584,11 +59552,11 @@ } }, { - "code": "reportUnknownMemberType", + "code": "reportOperatorIssue", "range": { - "startColumn": 20, - "endColumn": 26, - "lineCount": 1 + "startColumn": 27, + "endColumn": 21, + "lineCount": 5 } }, { @@ -60616,10 +59584,50 @@ } }, { - "code": "reportOperatorIssue", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 22, - "endColumn": 40, + "startColumn": 56, + "endColumn": 62, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 56, + "endColumn": 62, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 56, + "endColumn": 62, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 56, + "endColumn": 62, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 56, + "endColumn": 62, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 56, + "endColumn": 62, "lineCount": 1 } }, @@ -60848,11 +59856,11 @@ } }, { - "code": "reportUnknownMemberType", + "code": "reportOperatorIssue", "range": { - "startColumn": 20, - "endColumn": 25, - "lineCount": 1 + "startColumn": 13, + "endColumn": 17, + "lineCount": 14 } }, { @@ -60864,10 +59872,10 @@ } }, { - "code": "reportUnknownArgumentType", + "code": "reportArgumentType", "range": { - "startColumn": 26, - "endColumn": 32, + "startColumn": 41, + "endColumn": 67, "lineCount": 1 } }, @@ -60896,10 +59904,10 @@ } }, { - "code": "reportUnknownMemberType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 20, - "endColumn": 25, + "startColumn": 26, + "endColumn": 32, "lineCount": 1 } }, @@ -60911,6 +59919,14 @@ "lineCount": 1 } }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 41, + "endColumn": 29, + "lineCount": 3 + } + }, { "code": "reportUnknownArgumentType", "range": { @@ -60952,11 +59968,11 @@ } }, { - "code": "reportUnknownMemberType", + "code": "reportOperatorIssue", "range": { - "startColumn": 20, - "endColumn": 25, - "lineCount": 1 + "startColumn": 13, + "endColumn": 17, + "lineCount": 12 } }, { @@ -60967,6 +59983,14 @@ "lineCount": 1 } }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 41, + "endColumn": 67, + "lineCount": 1 + } + }, { "code": "reportUnknownArgumentType", "range": { @@ -61000,18 +60024,26 @@ } }, { - "code": "reportUnknownMemberType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 20, - "endColumn": 25, + "startColumn": 47, + "endColumn": 55, + "lineCount": 1 + } + }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 41, + "endColumn": 69, "lineCount": 1 } }, { "code": "reportUnknownArgumentType", "range": { - "startColumn": 47, - "endColumn": 55, + "startColumn": 26, + "endColumn": 32, "lineCount": 1 } }, @@ -61040,10 +60072,10 @@ } }, { - "code": "reportUnknownArgumentType", + "code": "reportOperatorIssue", "range": { - "startColumn": 26, - "endColumn": 32, + "startColumn": 15, + "endColumn": 22, "lineCount": 1 } }, @@ -61136,10 +60168,10 @@ } }, { - "code": "reportUnknownMemberType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 18, - "endColumn": 39, + "startColumn": 50, + "endColumn": 53, "lineCount": 1 } }, @@ -61178,11 +60210,11 @@ ], "./pytential/symbolic/primitives.py": [ { - "code": "reportUnannotatedClassAttribute", + "code": "reportReturnType", "range": { - "startColumn": 4, - "endColumn": 18, - "lineCount": 1 + "startColumn": 11, + "endColumn": 48, + "lineCount": 4 } }, { @@ -61197,23 +60229,7 @@ "code": "reportUnknownMemberType", "range": { "startColumn": 19, - "endColumn": 31, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 24, - "endColumn": 33, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 24, - "endColumn": 33, + "endColumn": 35, "lineCount": 1 } }, @@ -61225,14 +60241,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 37, - "endColumn": 46, - "lineCount": 1 - } - }, { "code": "reportReturnType", "range": { @@ -61241,14 +60249,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 33, - "endColumn": 40, - "lineCount": 1 - } - }, { "code": "reportInconsistentConstructor", "range": { @@ -61266,49 +60266,50 @@ } }, { - "code": "reportArgumentType", + "code": "reportReturnType", "range": { - "startColumn": 25, - "endColumn": 32, + "startColumn": 11, + "endColumn": 80, "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportUnusedFunction", "range": { - "startColumn": 12, - "endColumn": 30, - "lineCount": 2 + "startColumn": 4, + "endColumn": 17, + "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportUnusedFunction", "range": { - "startColumn": 12, - "endColumn": 32, - "lineCount": 2 + "startColumn": 4, + "endColumn": 22, + "lineCount": 1 } }, { - "code": "reportAttributeAccessIssue", + "code": "reportUnusedFunction", "range": { - "startColumn": 13, - "endColumn": 30, + "startColumn": 4, + "endColumn": 26, "lineCount": 1 } }, { + "code": "reportUnknownVariableType", "range": { - "startColumn": 16, - "endColumn": 17, - "lineCount": 1 + "startColumn": 11, + "endColumn": 35, + "lineCount": 3 } }, { "code": "reportOperatorIssue", "range": { "startColumn": 12, - "endColumn": 34, + "endColumn": 35, "lineCount": 1 } }, @@ -61316,7 +60317,7 @@ "code": "reportUnknownArgumentType", "range": { "startColumn": 12, - "endColumn": 34, + "endColumn": 35, "lineCount": 1 } }, @@ -61324,15 +60325,15 @@ "code": "reportUnusedFunction", "range": { "startColumn": 4, - "endColumn": 17, + "endColumn": 25, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnusedFunction", "range": { "startColumn": 4, - "endColumn": 22, + "endColumn": 29, "lineCount": 1 } }, @@ -61340,135 +60341,151 @@ "code": "reportUnusedFunction", "range": { "startColumn": 4, - "endColumn": 22, + "endColumn": 30, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportCallIssue", "range": { - "startColumn": 23, - "endColumn": 26, - "lineCount": 1 + "startColumn": 11, + "endColumn": 37, + "lineCount": 3 } }, { - "code": "reportMissingParameterType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 23, - "endColumn": 26, + "startColumn": 11, + "endColumn": 37, + "lineCount": 3 + } + }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 15, + "endColumn": 34, "lineCount": 1 } }, { "code": "reportUnknownVariableType", "range": { - "startColumn": 4, - "endColumn": 5, + "startColumn": 11, + "endColumn": 47, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportArgumentType", "range": { - "startColumn": 7, - "endColumn": 8, + "startColumn": 23, + "endColumn": 30, "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportReturnType", "range": { - "startColumn": 11, - "endColumn": 20, + "startColumn": 19, + "endColumn": 26, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportReturnType", "range": { - "startColumn": 9, - "endColumn": 10, + "startColumn": 19, + "endColumn": 50, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportReturnType", "range": { - "startColumn": 12, - "endColumn": 13, + "startColumn": 15, + "endColumn": 22, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportReturnType", "range": { - "startColumn": 17, - "endColumn": 18, + "startColumn": 19, + "endColumn": 50, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportReturnType", "range": { - "startColumn": 20, - "endColumn": 21, + "startColumn": 19, + "endColumn": 50, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportReturnType", "range": { "startColumn": 15, - "endColumn": 28, - "lineCount": 4 + "endColumn": 39, + "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportReturnType", "range": { - "startColumn": 4, - "endColumn": 26, + "startColumn": 15, + "endColumn": 57, "lineCount": 1 } }, { - "code": "reportUnusedFunction", + "code": "reportReturnType", "range": { - "startColumn": 4, - "endColumn": 26, - "lineCount": 1 + "startColumn": 11, + "endColumn": 25, + "lineCount": 3 } }, { - "code": "reportUnknownParameterType", + "code": "reportOperatorIssue", "range": { - "startColumn": 27, - "endColumn": 30, - "lineCount": 1 + "startColumn": 12, + "endColumn": 24, + "lineCount": 2 } }, { - "code": "reportMissingParameterType", + "code": "reportArgumentType", "range": { - "startColumn": 27, - "endColumn": 30, + "startColumn": 12, + "endColumn": 24, + "lineCount": 2 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 13, + "endColumn": 40, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportReturnType", "range": { - "startColumn": 4, - "endColumn": 5, + "startColumn": 11, + "endColumn": 56, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportArgumentType", "range": { - "startColumn": 7, - "endColumn": 8, + "startColumn": 21, + "endColumn": 55, "lineCount": 1 } }, @@ -61476,916 +60493,540 @@ "code": "reportUnknownMemberType", "range": { "startColumn": 11, - "endColumn": 20, - "lineCount": 1 + "endColumn": 15, + "lineCount": 4 } }, { "code": "reportUnknownVariableType", "range": { - "startColumn": 15, - "endColumn": 44, - "lineCount": 1 + "startColumn": 11, + "endColumn": 17, + "lineCount": 4 } }, { - "code": "reportUnknownArgumentType", + "code": "reportArgumentType", "range": { - "startColumn": 32, - "endColumn": 43, - "lineCount": 1 + "startColumn": 8, + "endColumn": 42, + "lineCount": 2 } }, { - "code": "reportUnknownVariableType", + "code": "reportArgumentType", "range": { - "startColumn": 9, - "endColumn": 10, + "startColumn": 22, + "endColumn": 40, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportAttributeAccessIssue", "range": { - "startColumn": 12, - "endColumn": 13, + "startColumn": 6, + "endColumn": 15, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportAttributeAccessIssue", "range": { - "startColumn": 17, - "endColumn": 18, + "startColumn": 6, + "endColumn": 15, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportAttributeAccessIssue", "range": { - "startColumn": 20, - "endColumn": 21, + "startColumn": 6, + "endColumn": 15, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportAttributeAccessIssue", "range": { - "startColumn": 8, - "endColumn": 14, + "startColumn": 6, + "endColumn": 15, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportAttributeAccessIssue", "range": { - "startColumn": 21, - "endColumn": 26, + "startColumn": 6, + "endColumn": 15, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportAttributeAccessIssue", "range": { - "startColumn": 8, - "endColumn": 25, + "startColumn": 6, + "endColumn": 15, "lineCount": 1 } }, { "code": "reportUnknownArgumentType", "range": { - "startColumn": 32, - "endColumn": 60, + "startColumn": 62, + "endColumn": 78, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportUnknownMemberType", "range": { "startColumn": 37, - "endColumn": 59, + "endColumn": 56, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 15, - "endColumn": 14, - "lineCount": 4 + "startColumn": 37, + "endColumn": 56, + "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportAny", "range": { - "startColumn": 32, - "endColumn": 13, - "lineCount": 4 + "startColumn": 21, + "endColumn": 27, + "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 4, - "endColumn": 30, - "lineCount": 1 + "startColumn": 15, + "endColumn": 13, + "lineCount": 11 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnknownMemberType", "range": { - "startColumn": 31, - "endColumn": 34, + "startColumn": 38, + "endColumn": 57, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportAttributeAccessIssue", "range": { - "startColumn": 31, - "endColumn": 34, + "startColumn": 44, + "endColumn": 57, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportUnknownMemberType", "range": { - "startColumn": 4, - "endColumn": 5, + "startColumn": 39, + "endColumn": 59, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportAttributeAccessIssue", "range": { - "startColumn": 7, - "endColumn": 8, + "startColumn": 45, + "endColumn": 59, "lineCount": 1 } }, { "code": "reportUnknownMemberType", "range": { - "startColumn": 11, - "endColumn": 20, + "startColumn": 34, + "endColumn": 49, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportAttributeAccessIssue", "range": { - "startColumn": 15, - "endColumn": 44, + "startColumn": 40, + "endColumn": 49, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportUnknownMemberType", "range": { - "startColumn": 32, + "startColumn": 31, "endColumn": 43, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportAttributeAccessIssue", "range": { - "startColumn": 9, - "endColumn": 10, + "startColumn": 37, + "endColumn": 43, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportUnknownMemberType", "range": { - "startColumn": 12, - "endColumn": 13, + "startColumn": 31, + "endColumn": 43, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportAttributeAccessIssue", "range": { - "startColumn": 17, - "endColumn": 18, + "startColumn": 37, + "endColumn": 43, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportUnknownMemberType", "range": { - "startColumn": 20, - "endColumn": 21, + "startColumn": 40, + "endColumn": 62, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 8, - "endColumn": 14, + "startColumn": 40, + "endColumn": 62, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportAttributeAccessIssue", "range": { - "startColumn": 21, - "endColumn": 26, + "startColumn": 46, + "endColumn": 62, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportUnknownMemberType", "range": { - "startColumn": 8, - "endColumn": 25, + "startColumn": 15, + "endColumn": 42, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 32, - "endColumn": 59, - "lineCount": 1 + "startColumn": 15, + "endColumn": 75, + "lineCount": 2 } }, { - "code": "reportUnknownArgumentType", + "code": "reportAttributeAccessIssue", "range": { - "startColumn": 37, - "endColumn": 58, + "startColumn": 22, + "endColumn": 42, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportUnknownMemberType", "range": { - "startColumn": 15, - "endColumn": 14, - "lineCount": 4 + "startColumn": 54, + "endColumn": 73, + "lineCount": 1 } }, { "code": "reportUnknownArgumentType", "range": { - "startColumn": 32, - "endColumn": 13, - "lineCount": 4 + "startColumn": 54, + "endColumn": 73, + "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportAttributeAccessIssue", "range": { - "startColumn": 4, - "endColumn": 50, + "startColumn": 61, + "endColumn": 73, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportReturnType", "range": { - "startColumn": 11, - "endColumn": 35, - "lineCount": 3 + "startColumn": 20, + "endColumn": 24, + "lineCount": 1 } }, { - "code": "reportAny", + "code": "reportCallIssue", "range": { - "startColumn": 12, - "endColumn": 42, + "startColumn": 21, + "endColumn": 59, "lineCount": 1 } }, { "code": "reportArgumentType", "range": { - "startColumn": 19, - "endColumn": 27, + "startColumn": 32, + "endColumn": 55, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportOperatorIssue", "range": { - "startColumn": 4, - "endColumn": 17, + "startColumn": 11, + "endColumn": 26, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportUnknownMemberType", "range": { - "startColumn": 4, - "endColumn": 21, + "startColumn": 11, + "endColumn": 30, "lineCount": 1 } }, { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { - "startColumn": 12, - "endColumn": 50, - "lineCount": 1 + "startColumn": 11, + "endColumn": 26, + "lineCount": 6 } }, { - "code": "reportUnknownMemberType", + "code": "reportUnknownLambdaType", "range": { "startColumn": 19, - "endColumn": 34, + "endColumn": 24, "lineCount": 1 } }, { "code": "reportUnknownArgumentType", "range": { - "startColumn": 19, - "endColumn": 34, + "startColumn": 60, + "endColumn": 65, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportAny", "range": { - "startColumn": 36, - "endColumn": 49, + "startColumn": 4, + "endColumn": 17, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportAny", "range": { - "startColumn": 4, - "endColumn": 19, + "startColumn": 26, + "endColumn": 39, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportArgumentType", "range": { - "startColumn": 16, - "endColumn": 23, + "startColumn": 43, + "endColumn": 55, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportUnreachable", "range": { - "startColumn": 21, - "endColumn": 22, - "lineCount": 1 + "startColumn": 8, + "endColumn": 29, + "lineCount": 3 } }, { - "code": "reportUnknownVariableType", + "code": "reportReturnType", "range": { - "startColumn": 19, - "endColumn": 20, - "lineCount": 1 + "startColumn": 11, + "endColumn": 57, + "lineCount": 2 } }, { - "code": "reportUnknownArgumentType", + "code": "reportArgumentType", "range": { - "startColumn": 34, - "endColumn": 83, + "startColumn": 12, + "endColumn": 56, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportReturnType", "range": { - "startColumn": 61, - "endColumn": 82, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 15, - "endColumn": 37, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 21, - "endColumn": 36, - "lineCount": 1 - } - }, - { - "code": "reportArgumentType", - "range": { - "startColumn": 37, - "endColumn": 47, - "lineCount": 1 - } - }, - { - "code": "reportArgumentType", - "range": { - "startColumn": 49, - "endColumn": 56, - "lineCount": 1 - } - }, - { - "code": "reportArgumentType", - "range": { - "startColumn": 40, - "endColumn": 52, - "lineCount": 1 - } - }, - { - "code": "reportArgumentType", - "range": { - "startColumn": 54, - "endColumn": 61, - "lineCount": 1 - } - }, - { - "code": "reportUnusedFunction", - "range": { - "startColumn": 4, + "startColumn": 11, "endColumn": 25, - "lineCount": 1 - } - }, - { - "code": "reportUnusedFunction", - "range": { - "startColumn": 4, - "endColumn": 29, - "lineCount": 1 - } - }, - { - "code": "reportUnusedFunction", - "range": { - "startColumn": 4, - "endColumn": 30, - "lineCount": 1 + "lineCount": 3 } }, { "code": "reportArgumentType", - "range": { - "startColumn": 42, - "endColumn": 46, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 12, - "endColumn": 23, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", "range": { "startColumn": 12, - "endColumn": 23, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 20, - "endColumn": 31, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 4, - "endColumn": 21, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 4, - "endColumn": 11, - "lineCount": 1 - } - }, - { - "code": "reportOperatorIssue", - "range": { - "startColumn": 14, - "endColumn": 40, - "lineCount": 1 + "endColumn": 24, + "lineCount": 2 } }, { - "code": "reportOperatorIssue", + "code": "reportUnknownMemberType", "range": { - "startColumn": 18, - "endColumn": 30, + "startColumn": 13, + "endColumn": 61, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportReturnType", "range": { "startColumn": 11, - "endColumn": 37, + "endColumn": 10, "lineCount": 3 } }, { "code": "reportUnknownMemberType", "range": { - "startColumn": 15, - "endColumn": 32, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 15, - "endColumn": 34, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 4, - "endColumn": 33, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 4, - "endColumn": 11, + "startColumn": 21, + "endColumn": 37, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportUnknownMemberType", "range": { - "startColumn": 11, - "endColumn": 47, + "startColumn": 8, + "endColumn": 24, "lineCount": 1 } }, { "code": "reportArgumentType", "range": { - "startColumn": 23, - "endColumn": 30, - "lineCount": 1 - } - }, - { - "code": "reportReturnType", - "range": { - "startColumn": 19, - "endColumn": 26, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 24, - "endColumn": 33, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 24, - "endColumn": 33, + "startColumn": 46, + "endColumn": 64, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportArgumentType", "range": { "startColumn": 43, - "endColumn": 52, - "lineCount": 1 - } - }, - { - "code": "reportReturnType", - "range": { - "startColumn": 19, - "endColumn": 50, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 33, - "endColumn": 40, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 11, - "endColumn": 18, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 11, - "endColumn": 18, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 20, - "endColumn": 25, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 20, - "endColumn": 25, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 27, - "endColumn": 34, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 27, - "endColumn": 34, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 36, - "endColumn": 43, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 57, - "endColumn": 62, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 65, - "endColumn": 72, - "lineCount": 1 - } - }, - { - "code": "reportReturnType", - "range": { - "startColumn": 11, - "endColumn": 49, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 24, - "endColumn": 33, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 24, - "endColumn": 33, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 27, - "endColumn": 36, - "lineCount": 1 - } - }, - { - "code": "reportReturnType", - "range": { - "startColumn": 19, - "endColumn": 50, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 33, - "endColumn": 40, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 24, - "endColumn": 33, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 24, - "endColumn": 33, + "endColumn": 55, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportUnreachable", "range": { - "startColumn": 27, - "endColumn": 36, - "lineCount": 1 + "startColumn": 8, + "endColumn": 32, + "lineCount": 3 } }, { - "code": "reportReturnType", + "code": "reportArgumentType", "range": { - "startColumn": 19, - "endColumn": 50, + "startColumn": 43, + "endColumn": 55, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportUnreachable", "range": { - "startColumn": 33, - "endColumn": 40, - "lineCount": 1 + "startColumn": 8, + "endColumn": 29, + "lineCount": 3 } }, { - "code": "reportUnknownParameterType", + "code": "reportArgumentType", "range": { - "startColumn": 4, - "endColumn": 8, + "startColumn": 43, + "endColumn": 55, "lineCount": 1 } }, { - "code": "reportOperatorIssue", - "range": { - "startColumn": 11, - "endColumn": 46, - "lineCount": 3 - } - }, - { - "code": "reportUnknownVariableType", + "code": "reportUnreachable", "range": { - "startColumn": 11, - "endColumn": 46, + "startColumn": 8, + "endColumn": 32, "lineCount": 3 } }, { - "code": "reportImplicitOverride", + "code": "reportArgumentType", "range": { - "startColumn": 8, - "endColumn": 13, + "startColumn": 43, + "endColumn": 55, "lineCount": 1 } }, { - "code": "reportImplicitOverride", + "code": "reportUnreachable", "range": { "startColumn": 8, - "endColumn": 15, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 16, - "endColumn": 20, - "lineCount": 1 + "endColumn": 29, + "lineCount": 3 } }, { - "code": "reportMissingParameterType", + "code": "reportArgumentType", "range": { "startColumn": 16, - "endColumn": 20, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 34, - "endColumn": 38, - "lineCount": 1 - } - }, - { - "code": "reportReturnType", - "range": { - "startColumn": 15, - "endColumn": 57, + "endColumn": 22, "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportInvalidCast", "range": { - "startColumn": 11, - "endColumn": 20, + "startColumn": 19, + "endColumn": 81, "lineCount": 1 } }, - { - "code": "reportReturnType", - "range": { - "startColumn": 11, - "endColumn": 25, - "lineCount": 3 - } - }, { "code": "reportOperatorIssue", "range": { - "startColumn": 12, - "endColumn": 24, - "lineCount": 2 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 13, - "endColumn": 40, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 31, - "endColumn": 40, + "startColumn": 32, + "endColumn": 65, "lineCount": 1 } }, { - "code": "reportArgumentType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 43, - "endColumn": 50, + "startColumn": 32, + "endColumn": 65, "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportAny", "range": { "startColumn": 11, "endColumn": 20, @@ -62393,2466 +61034,10 @@ } }, { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 11, - "endColumn": 49, - "lineCount": 2 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 11, - "endColumn": 51, - "lineCount": 2 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 8, - "endColumn": 17, - "lineCount": 1 - } - }, - { - "code": "reportAttributeAccessIssue", - "range": { - "startColumn": 40, - "endColumn": 49, - "lineCount": 1 - } - }, - { - "code": "reportAttributeAccessIssue", - "range": { - "startColumn": 40, - "endColumn": 49, - "lineCount": 1 - } - }, - { - "code": "reportAttributeAccessIssue", - "range": { - "startColumn": 40, - "endColumn": 49, - "lineCount": 1 - } - }, - { - "code": "reportAttributeAccessIssue", - "range": { - "startColumn": 40, - "endColumn": 49, - "lineCount": 1 - } - }, - { - "code": "reportAttributeAccessIssue", - "range": { - "startColumn": 40, - "endColumn": 49, - "lineCount": 1 - } - }, - { - "code": "reportAttributeAccessIssue", - "range": { - "startColumn": 40, - "endColumn": 49, - "lineCount": 1 - } - }, - { - "code": "reportAttributeAccessIssue", - "range": { - "startColumn": 40, - "endColumn": 49, - "lineCount": 1 - } - }, - { - "code": "reportAttributeAccessIssue", - "range": { - "startColumn": 40, - "endColumn": 49, - "lineCount": 1 - } - }, - { - "code": "reportAttributeAccessIssue", - "range": { - "startColumn": 40, - "endColumn": 49, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 4, - "endColumn": 24, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 25, - "endColumn": 41, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 25, - "endColumn": 41, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 11, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 13, - "endColumn": 16, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 27, - "endColumn": 49, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 27, - "endColumn": 51, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 8, - "endColumn": 28, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 11, - "endColumn": 31, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 17, - "endColumn": 30, - "lineCount": 1 - } - }, - { - "code": "reportMissingSuperCall", - "range": { - "startColumn": 8, - "endColumn": 16, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 14, - "endColumn": 20, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 22, - "endColumn": 27, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 62, - "endColumn": 78, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 24, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 16, - "endColumn": 36, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 37, - "endColumn": 56, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 37, - "endColumn": 56, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 20, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 73, - "endColumn": 85, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 21, - "endColumn": 27, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 21, - "endColumn": 27, - "lineCount": 1 - } - }, - { - "code": "reportImplicitOverride", - "range": { - "startColumn": 8, - "endColumn": 14, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 21, - "endColumn": 26, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 33, - "endColumn": 48, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 30, - "endColumn": 35, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 30, - "endColumn": 45, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 38, - "endColumn": 57, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 39, - "endColumn": 59, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 34, - "endColumn": 49, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 31, - "endColumn": 43, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 31, - "endColumn": 43, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 40, - "endColumn": 62, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 40, - "endColumn": 62, - "lineCount": 1 - } - }, - { - "code": "reportImplicitOverride", - "range": { - "startColumn": 8, - "endColumn": 16, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 20, - "endColumn": 13, - "lineCount": 8 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 4, - "endColumn": 41, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 42, - "endColumn": 48, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 42, - "endColumn": 48, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 7, - "endColumn": 29, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 16, - "endColumn": 22, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 15, - "endColumn": 42, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 15, - "endColumn": 75, - "lineCount": 2 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 54, - "endColumn": 73, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 54, - "endColumn": 73, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 17, - "endColumn": 24, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 17, - "endColumn": 24, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 12, - "endColumn": 31, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 38, - "endColumn": 42, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 38, - "endColumn": 42, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 19, - "endColumn": 28, - "lineCount": 1 - } - }, - { - "code": "reportIncompatibleMethodOverride", - "range": { - "startColumn": 12, - "endColumn": 24, - "lineCount": 1 - } - }, - { - "code": "reportImplicitOverride", - "range": { - "startColumn": 12, - "endColumn": 24, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 31, - "endColumn": 35, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 12, - "endColumn": 36, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 43, - "endColumn": 47, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 43, - "endColumn": 47, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 19, - "endColumn": 28, - "lineCount": 1 - } - }, - { - "code": "reportIncompatibleMethodOverride", - "range": { - "startColumn": 12, - "endColumn": 24, - "lineCount": 1 - } - }, - { - "code": "reportImplicitOverride", - "range": { - "startColumn": 12, - "endColumn": 24, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 31, - "endColumn": 35, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 41, - "endColumn": 48, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 21, - "endColumn": 31, - "lineCount": 1 - } - }, - { - "code": "reportAttributeAccessIssue", - "range": { - "startColumn": 28, - "endColumn": 31, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 4, - "endColumn": 17, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 36, - "endColumn": 43, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 36, - "endColumn": 43, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 45, - "endColumn": 51, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 45, - "endColumn": 51, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 53, - "endColumn": 60, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 53, - "endColumn": 60, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 12, - "endColumn": 28, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 12, - "endColumn": 28, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 30, - "endColumn": 36, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 30, - "endColumn": 36, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 43, - "endColumn": 49, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 43, - "endColumn": 49, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 12, - "endColumn": 28, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 12, - "endColumn": 28, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 37, - "endColumn": 43, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 37, - "endColumn": 43, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 24, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 32, - "endColumn": 48, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 4, - "endColumn": 10, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 51, - "endColumn": 57, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 8, - "endColumn": 34, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 35, - "endColumn": 40, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 35, - "endColumn": 40, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 14, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 17, - "endColumn": 38, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 45, - "endColumn": 50, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 15, - "endColumn": 21, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 4, - "endColumn": 11, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 18, - "endColumn": 25, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 11, - "endColumn": 30, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 11, - "endColumn": 26, - "lineCount": 6 - } - }, - { - "code": "reportUnknownLambdaType", - "range": { - "startColumn": 19, - "endColumn": 24, - "lineCount": 1 - } - }, - { - "code": "reportUnknownLambdaType", - "range": { - "startColumn": 26, - "endColumn": 25, - "lineCount": 5 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 16, - "endColumn": 23, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 25, - "endColumn": 41, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 60, - "endColumn": 65, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 18, - "endColumn": 24, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 4, - "endColumn": 13, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 14, - "endColumn": 20, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 14, - "endColumn": 20, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 22, - "endColumn": 29, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 22, - "endColumn": 29, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 31, - "endColumn": 47, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 31, - "endColumn": 47, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 49, - "endColumn": 55, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 49, - "endColumn": 55, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 62, - "endColumn": 68, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 62, - "endColumn": 68, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 8, - "endColumn": 24, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 8, - "endColumn": 24, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 33, - "endColumn": 39, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 33, - "endColumn": 39, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 4, - "endColumn": 17, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 24, - "endColumn": 30, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 26, - "endColumn": 32, - "lineCount": 1 - } - }, - { - "code": "reportUnnecessaryComparison", - "range": { - "startColumn": 7, - "endColumn": 25, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 24, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 16, - "endColumn": 25, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 16, - "endColumn": 25, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 26, - "endColumn": 39, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 22, - "endColumn": 34, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 29, - "endColumn": 45, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 30, - "endColumn": 36, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 30, - "endColumn": 36, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 29, - "endColumn": 45, - "lineCount": 1 - } - }, - { - "code": "reportCallIssue", - "range": { - "startColumn": 15, - "endColumn": 46, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 15, - "endColumn": 46, - "lineCount": 1 - } - }, - { - "code": "reportArgumentType", - "range": { - "startColumn": 29, - "endColumn": 36, - "lineCount": 1 - } - }, - { - "code": "reportArgumentType", - "range": { - "startColumn": 38, - "endColumn": 45, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 23, - "endColumn": 30, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 4, - "endColumn": 5, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 6, - "endColumn": 12, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 6, - "endColumn": 12, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 14, - "endColumn": 21, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 14, - "endColumn": 21, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 8, - "endColumn": 24, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 39, - "endColumn": 45, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 39, - "endColumn": 45, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 52, - "endColumn": 58, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 52, - "endColumn": 58, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 8, - "endColumn": 24, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 8, - "endColumn": 24, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 33, - "endColumn": 39, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 33, - "endColumn": 39, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 11, - "endColumn": 39, - "lineCount": 2 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 21, - "endColumn": 27, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 29, - "endColumn": 36, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 32, - "endColumn": 38, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 11, - "endColumn": 20, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 12, - "endColumn": 19, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 12, - "endColumn": 19, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 11, - "endColumn": 20, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 13, - "endColumn": 61, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 16, - "endColumn": 23, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 12, - "endColumn": 19, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 12, - "endColumn": 19, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 11, - "endColumn": 20, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 21, - "endColumn": 37, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 8, - "endColumn": 24, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 36, - "endColumn": 45, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 56, - "endColumn": 63, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 7, - "endColumn": 13, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 7, - "endColumn": 13, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 16, - "endColumn": 20, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 16, - "endColumn": 20, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 24, - "endColumn": 30, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 24, - "endColumn": 30, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 4, - "endColumn": 11, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 14, - "endColumn": 24, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 4, - "endColumn": 15, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 18, - "endColumn": 28, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 4, - "endColumn": 7, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 10, - "endColumn": 20, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 12, - "endColumn": 23, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 23, - "endColumn": 27, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 23, - "endColumn": 27, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 23, - "endColumn": 27, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 23, - "endColumn": 27, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 23, - "endColumn": 27, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 31, - "endColumn": 37, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 16, - "endColumn": 19, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 29, - "endColumn": 36, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 8, - "endColumn": 14, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 8, - "endColumn": 14, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 17, - "endColumn": 21, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 17, - "endColumn": 21, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 25, - "endColumn": 31, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 25, - "endColumn": 31, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 4, - "endColumn": 15, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 18, - "endColumn": 28, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 4, - "endColumn": 7, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 10, - "endColumn": 20, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 4, - "endColumn": 11, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 14, - "endColumn": 24, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 12, - "endColumn": 23, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 23, - "endColumn": 27, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 23, - "endColumn": 27, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 23, - "endColumn": 27, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 23, - "endColumn": 27, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 23, - "endColumn": 27, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 31, - "endColumn": 37, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 16, - "endColumn": 19, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 29, - "endColumn": 36, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 4, - "endColumn": 5, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 6, - "endColumn": 12, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 6, - "endColumn": 12, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 15, - "endColumn": 19, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 15, - "endColumn": 19, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 23, - "endColumn": 29, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 23, - "endColumn": 29, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 4, - "endColumn": 15, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 18, - "endColumn": 28, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 4, - "endColumn": 7, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 10, - "endColumn": 20, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 4, - "endColumn": 11, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 14, - "endColumn": 24, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 11, - "endColumn": 45, - "lineCount": 4 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 11, - "endColumn": 48, - "lineCount": 4 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 12, - "endColumn": 23, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 19, - "endColumn": 30, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 32, - "endColumn": 35, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 37, - "endColumn": 44, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 21, - "endColumn": 25, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 21, - "endColumn": 25, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 21, - "endColumn": 25, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 21, - "endColumn": 25, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 21, - "endColumn": 25, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 29, - "endColumn": 35, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 7, - "endColumn": 13, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 7, - "endColumn": 13, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 16, - "endColumn": 20, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 16, - "endColumn": 20, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 24, - "endColumn": 30, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 24, - "endColumn": 30, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 4, - "endColumn": 15, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 18, - "endColumn": 28, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 4, - "endColumn": 7, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 10, - "endColumn": 20, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 4, - "endColumn": 10, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 13, - "endColumn": 23, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 12, - "endColumn": 23, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 12, - "endColumn": 38, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 23, - "endColumn": 27, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 31, - "endColumn": 37, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 16, - "endColumn": 19, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 29, - "endColumn": 35, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 12, - "endColumn": 13, - "lineCount": 1 - } - }, - { - "code": "reportArgumentType", - "range": { - "startColumn": 27, - "endColumn": 31, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 32, - "endColumn": 52, - "lineCount": 1 - } - }, - { - "code": "reportCallIssue", - "range": { - "startColumn": 39, - "endColumn": 51, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 39, - "endColumn": 51, - "lineCount": 1 - } - }, - { - "code": "reportArgumentType", - "range": { - "startColumn": 46, - "endColumn": 50, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 22, - "endColumn": 29, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 22, - "endColumn": 29, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 22, - "endColumn": 29, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 27, - "endColumn": 34, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 22, - "endColumn": 36, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 22, - "endColumn": 36, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 22, - "endColumn": 36, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 8, - "endColumn": 39, - "lineCount": 2 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 26, - "endColumn": 33, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 26, - "endColumn": 33, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 34, - "endColumn": 41, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 4, - "endColumn": 9, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 10, - "endColumn": 13, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 10, - "endColumn": 13, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 21, - "endColumn": 24, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 11, - "endColumn": 27, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 23, - "endColumn": 26, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 10, - "endColumn": 15, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 10, - "endColumn": 15, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 17, - "endColumn": 22, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", + "code": "reportArgumentType", "range": { "startColumn": 17, - "endColumn": 22, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 15, - "endColumn": 20, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 29, - "endColumn": 34, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 12, - "endColumn": 47, - "lineCount": 2 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 12, - "endColumn": 15, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 12, - "endColumn": 15, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 57, - "endColumn": 60, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 8, - "endColumn": 11, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 8, - "endColumn": 11, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 22, - "endColumn": 25, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 12, - "endColumn": 43, - "lineCount": 2 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 40, - "endColumn": 50, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 9, - "endColumn": 12, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 9, - "endColumn": 12, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 12, - "endColumn": 47, - "lineCount": 2 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 53, - "endColumn": 59, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 11, - "endColumn": 15, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 11, - "endColumn": 15, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 30, - "endColumn": 34, + "endColumn": 55, "lineCount": 1 } } @@ -65082,14 +61267,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 37, - "endColumn": 50, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -65114,14 +61291,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 54, - "endColumn": 67, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -65234,14 +61403,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 32, - "endColumn": 45, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -65274,14 +61435,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 32, - "endColumn": 45, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -65522,14 +61675,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 41, - "endColumn": 54, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -65570,14 +61715,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 45, - "endColumn": 58, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -65843,370 +61980,338 @@ } }, { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 54, - "endColumn": 67, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 37, - "endColumn": 55, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 54, - "endColumn": 70, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 75, - "endColumn": 81, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 71, - "endColumn": 84, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 48, - "endColumn": 66, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 65, - "endColumn": 81, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 51, - "endColumn": 57, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 15, - "endColumn": 23, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 23, - "endColumn": 26, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 23, - "endColumn": 26, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 8, - "endColumn": 16, - "lineCount": 1 - } - }, - { - "code": "reportUnannotatedClassAttribute", - "range": { - "startColumn": 13, - "endColumn": 16, - "lineCount": 1 - } - }, - { - "code": "reportUnannotatedClassAttribute", - "range": { - "startColumn": 17, - "endColumn": 28, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 8, - "endColumn": 13, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 20, - "endColumn": 35, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 20, - "endColumn": 35, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 37, - "endColumn": 48, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 37, - "endColumn": 48, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 50, - "endColumn": 56, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 50, - "endColumn": 56, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 58, - "endColumn": 74, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 58, - "endColumn": 74, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 16, - "lineCount": 1 - } - }, - { - "code": "reportCallIssue", - "range": { - "startColumn": 19, - "endColumn": 54, - "lineCount": 1 - } - }, - { - "code": "reportArgumentType", - "range": { - "startColumn": 28, - "endColumn": 39, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 29, - "endColumn": 37, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 26, - "endColumn": 34, - "lineCount": 1 - } - }, - { - "code": "reportArgumentType", - "range": { - "startColumn": 26, - "endColumn": 34, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 12, - "endColumn": 22, - "lineCount": 1 - } - }, - { - "code": "reportCallIssue", - "range": { - "startColumn": 25, - "endColumn": 59, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 34, - "endColumn": 42, - "lineCount": 1 - } - }, - { - "code": "reportArgumentType", - "range": { - "startColumn": 34, - "endColumn": 42, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 48, - "endColumn": 56, - "lineCount": 1 - } - }, - { - "code": "reportArgumentType", - "range": { - "startColumn": 48, - "endColumn": 56, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 65, - "endColumn": 73, - "lineCount": 1 - } - }, - { - "code": "reportArgumentType", - "range": { - "startColumn": 65, - "endColumn": 73, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 16, - "endColumn": 23, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 26, - "endColumn": 41, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 16, - "endColumn": 23, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 32, - "endColumn": 39, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", + "code": "reportUnknownArgumentType", "range": { "startColumn": 37, - "endColumn": 50, + "endColumn": 55, "lineCount": 1 } }, { "code": "reportUnknownArgumentType", "range": { - "startColumn": 37, - "endColumn": 72, + "startColumn": 54, + "endColumn": 70, "lineCount": 1 } }, { "code": "reportUnknownArgumentType", "range": { - "startColumn": 54, - "endColumn": 70, + "startColumn": 75, + "endColumn": 81, "lineCount": 1 } }, { "code": "reportUnknownArgumentType", "range": { - "startColumn": 75, + "startColumn": 48, + "endColumn": 66, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 65, "endColumn": 81, "lineCount": 1 } }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 51, + "endColumn": 57, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 15, + "endColumn": 23, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 23, + "endColumn": 26, + "lineCount": 1 + } + }, + { + "code": "reportMissingParameterType", + "range": { + "startColumn": 23, + "endColumn": 26, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 8, + "endColumn": 16, + "lineCount": 1 + } + }, + { + "code": "reportUnannotatedClassAttribute", + "range": { + "startColumn": 13, + "endColumn": 16, + "lineCount": 1 + } + }, + { + "code": "reportUnannotatedClassAttribute", + "range": { + "startColumn": 17, + "endColumn": 28, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 8, + "endColumn": 13, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 20, + "endColumn": 35, + "lineCount": 1 + } + }, + { + "code": "reportMissingParameterType", + "range": { + "startColumn": 20, + "endColumn": 35, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 37, + "endColumn": 48, + "lineCount": 1 + } + }, + { + "code": "reportMissingParameterType", + "range": { + "startColumn": 37, + "endColumn": 48, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 50, + "endColumn": 56, + "lineCount": 1 + } + }, + { + "code": "reportMissingParameterType", + "range": { + "startColumn": 50, + "endColumn": 56, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 58, + "endColumn": 74, + "lineCount": 1 + } + }, + { + "code": "reportMissingParameterType", + "range": { + "startColumn": 58, + "endColumn": 74, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 8, + "endColumn": 16, + "lineCount": 1 + } + }, + { + "code": "reportCallIssue", + "range": { + "startColumn": 19, + "endColumn": 54, + "lineCount": 1 + } + }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 28, + "endColumn": 39, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 29, + "endColumn": 37, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 26, + "endColumn": 34, + "lineCount": 1 + } + }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 26, + "endColumn": 34, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 12, + "endColumn": 22, + "lineCount": 1 + } + }, + { + "code": "reportCallIssue", + "range": { + "startColumn": 25, + "endColumn": 59, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 34, + "endColumn": 42, + "lineCount": 1 + } + }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 34, + "endColumn": 42, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 48, + "endColumn": 56, + "lineCount": 1 + } + }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 48, + "endColumn": 56, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 65, + "endColumn": 73, + "lineCount": 1 + } + }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 65, + "endColumn": 73, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 16, + "endColumn": 23, + "lineCount": 1 + } + }, { "code": "reportUnknownMemberType", + "range": { + "startColumn": 26, + "endColumn": 41, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 16, + "endColumn": 23, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 32, + "endColumn": 39, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 37, + "endColumn": 72, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", "range": { "startColumn": 54, - "endColumn": 67, + "endColumn": 70, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 75, + "endColumn": 81, "lineCount": 1 } }, @@ -66378,14 +62483,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 33, - "endColumn": 46, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -66426,14 +62523,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 39, - "endColumn": 52, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -66714,14 +62803,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 37, - "endColumn": 50, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -66762,14 +62843,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 40, - "endColumn": 53, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -67722,6 +63795,14 @@ "lineCount": 1 } }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 8, + "endColumn": 17, + "lineCount": 1 + } + }, { "code": "reportUnknownArgumentType", "range": { diff --git a/doc/conf.py b/doc/conf.py index f8d5e6f17..baff7e55c 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -86,6 +86,8 @@ "DOFGranularity": "data:pytential.symbolic.dof_desc.DOFGranularity", "DiscretizationStage": "data:pytential.symbolic.dof_desc.DiscretizationStage", "GeometryId": "data:pytential.symbolic.dof_desc.GeometryId", + "KernelArgumentLike": "obj:pytential.symbolic.primitives.KernelArgumentLike", + "KernelArgumentMapping": "obj:pytential.symbolic.primitives.KernelArgumentMapping", "Operand": "obj:pytential.symbolic.primitives.Operand", "QBXForcedLimit": "obj:pytential.symbolic.primitives.QBXForcedLimit", "TargetOrDiscretization": "obj:pytential.target.TargetOrDiscretization", diff --git a/pytential/symbolic/primitives.py b/pytential/symbolic/primitives.py index 6cf262656..d3b27ae2d 100644 --- a/pytential/symbolic/primitives.py +++ b/pytential/symbolic/primitives.py @@ -28,6 +28,7 @@ from typing import ( TYPE_CHECKING, Any, + ClassVar, Concatenate, Literal, TypeAlias, @@ -38,12 +39,13 @@ from warnings import warn import numpy as np -from typing_extensions import deprecated, override, reveal_type +from typing_extensions import deprecated, override from pymbolic import Expression, ExpressionNode as ExpressionNodeBase, Variable from pymbolic.geometric_algebra import MultiVector, componentwise from pymbolic.geometric_algebra.primitives import ( Derivative as DerivativeBase, + Nabla, NablaComponent, ) from pymbolic.primitives import ( # noqa: N813 @@ -57,6 +59,7 @@ from pytools import P, obj_array from pytools.obj_array import ( ObjectArray, + ObjectArray1D, ObjectArray2D, ObjectArrayND, ShapeT, @@ -83,10 +86,11 @@ if TYPE_CHECKING: - from collections.abc import Callable, Iterable, Sequence + from collections.abc import Callable, Hashable, Iterable, Sequence import modepy as mp - from loopy.symbolic import StringifyMapper + from pymbolic.mapper.stringifier import StringifyMapper + from pymbolic.primitives import CommonSubexpression, Quotient from pytools import P @@ -305,7 +309,6 @@ :undoc-members: :members: mapper_method - Operators ^^^^^^^^^ @@ -336,6 +339,9 @@ Layer potentials ^^^^^^^^^^^^^^^^ +.. autoclass:: KernelArgumentMapping +.. autoclass:: KernelArgumentLike + .. autoclass:: IntG :show-inheritance: :undoc-members: @@ -371,12 +377,14 @@ """ __all__ = ( - "ExpressionNode", - "Operand", + "Operand", "OperandTc", + "Side", "QBXForcedLimit", "ArithmeticExpressionT", - "QBXForcedLimit", - "for_each_expression", + "KernelArgumentMapping", + "KernelArgumentLike", + "for_each_expression", + "ExpressionNode", "ErrorExpression", "var", "SpatialConstant", "make_sym_mv", "make_sym_surface_mv", @@ -434,7 +442,10 @@ class ExpressionNode(ExpressionNodeBase): """ @override - def make_stringifier(self, originating_stringifier: StringifyMapper | None = None): + def make_stringifier( + self, + originating_stringifier: StringifyMapper[Any] | None = None, + ) -> StringifyMapper[[]]: from pytential.symbolic.mappers import StringifyMapper return StringifyMapper() @@ -449,14 +460,20 @@ def make_stringifier(self, originating_stringifier: StringifyMapper | None = Non MultiVector[ArithmeticExpression], Operand) -QBXForcedLimit: TypeAlias = Literal[-2, -1, 1, 1, "avg"] | None +Side: TypeAlias = Literal[-1, 1] +QBXForcedLimit: TypeAlias = Literal[-2, -1, +1, +2, "avg"] | None # NOTE: this will likely live in pymbolic at some point, but for now we take it! ArithmeticExpressionT = TypeVar("ArithmeticExpressionT", bound=ArithmeticExpression) +KernelArgumentMapping = dict[str, Operand] +KernelArgumentLike = ( + dict[str, Operand] + | tuple[tuple[str, Operand], ...]) + class cse_scope(cse_scope_base): # noqa: N801 - DISCRETIZATION = "pytential_discretization" + DISCRETIZATION: ClassVar[str] = "pytential_discretization" def for_each_expression( @@ -510,7 +527,7 @@ def make_sym_surface_mv( ambient_dim: int, dim: int, dofdesc: DOFDescriptorLike = None - ): + ) -> MultiVector[ArithmeticExpression]: par_grad = parametrization_derivative_matrix(ambient_dim, dim, dofdesc) return sum( @@ -537,29 +554,30 @@ def __call__(self, @override def __call__(self, - operand: (ArithmeticExpression + operand: ( + ArithmeticExpression | ObjectArray[ShapeT, ArithmeticExpression]), *args: Operand, **kwargs: Operand - ) -> (ArithmeticExpression - | ObjectArray[ShapeT, ArithmeticExpression]): + ) -> ArithmeticExpression | ObjectArray[ShapeT, ArithmeticExpression]: # If the call is handed an object array full of operands, # return an object array of the operator applied to each of the # operands. if isinstance(operand, ObjectArray): - def make_op(operand_i: ArithmeticExpression): + def make_op(operand_i: ArithmeticExpression) -> ArithmeticExpression: return self(operand_i, *args, **kwargs) return obj_array.vectorize(make_op, operand) else: - return var.__call__(self, operand, *args, **kwargs) + return super().__call__(operand, *args, **kwargs) @expr_dataclass() class NumpyMathFunction(Function): """A math function named within the numpy naming convention and with - numpy-like semantics.""" + numpy-like semantics. + """ real = NumpyMathFunction("real") @@ -620,11 +638,11 @@ class IsShapeClass(DiscretizationProperty): .. autoattribute:: shape """ - shape: mp.Shape + shape: type[mp.Shape] """A :class:`modepy.Shape` subclass.""" # FIXME: this is added for backwards compatibility with pre-dataclass expressions - def __init__(self, shape: mp.Shape, dofdesc: DOFDescriptor) -> None: + def __init__(self, shape: type[mp.Shape], dofdesc: DOFDescriptor) -> None: object.__setattr__(self, "shape", shape) super().__init__(dofdesc) @@ -651,9 +669,10 @@ def __init__(self, super().__init__(dofdesc) -def nodes(ambient_dim: int, dofdesc: DOFDescriptorLike = None): - """Return a :class:`pymbolic.geometric_algebra.MultiVector` of node - locations. +def nodes(ambient_dim: int, + dofdesc: DOFDescriptorLike = None) -> MultiVector[ArithmeticExpression]: + """ + :returns: a :class:`pymbolic.geometric_algebra.MultiVector` of node coordinates. """ dofdesc = as_dofdesc(dofdesc) return MultiVector( @@ -686,14 +705,14 @@ def __new__(cls, operand: Operand | None = None, dofdesc: DOFDescriptor | None = None, ) -> NumReferenceDerivative: - if isinstance(operand, np.ndarray | MultiVector): + if isinstance(operand, ObjectArray | MultiVector): warn(f"Passing {type(operand)} directly to {cls.__name__!r} " "is deprecated and will result in an error from 2025. Use " "the 'num_reference_derivative' function instead.", DeprecationWarning, stacklevel=3) - def make_op(operand_i): - return cls(ref_axes, operand_i, as_dofdesc(dofdesc)) + def make_op(operand_i: ArithmeticExpression) -> ArithmeticExpression: + return cls(ref_axes, operand_i, dofdesc) return componentwise(make_op, operand) else: @@ -729,7 +748,7 @@ def __init__(self, object.__setattr__(self, "ref_axes", ref_axes) object.__setattr__(self, "operand", operand) - super().__init__(dofdesc) + super().__init__(as_dofdesc(dofdesc)) @for_each_expression @@ -755,8 +774,9 @@ def reference_jacobian( dim: int, dofdesc: DOFDescriptorLike = None ) -> ObjectArray2D[ArithmeticExpression]: - """Return a :class:`numpy.ndarray` representing the Jacobian of a vector function - with respect to the reference coordinates. + """ + :returns: a :class:`numpy.ndarray` representing the Jacobian of a vector function + with respect to the reference coordinates. """ dofdesc = as_dofdesc(dofdesc) jac = np.zeros((output_dim, dim), object) @@ -772,9 +792,11 @@ def reference_jacobian( def parametrization_derivative_matrix( ambient_dim: int, dim: int, - dofdesc: DOFDescriptorLike = None): - """Return a :class:`numpy.ndarray` representing the derivative of the - reference-to-global parametrization. + dofdesc: DOFDescriptorLike = None, + ) -> ObjectArray2D[ArithmeticExpression]: + """ + :returns: a :class:`numpy.ndarray` representing the derivative of the + reference-to-global parametrization. """ dofdesc = as_dofdesc(dofdesc) @@ -788,9 +810,11 @@ def parametrization_derivative_matrix( def parametrization_derivative( ambient_dim: int, dim: int, - dofdesc: DOFDescriptorLike = None): - """Return a :class:`pymbolic.geometric_algebra.MultiVector` representing - the derivative of the reference-to-global parametrization. + dofdesc: DOFDescriptorLike = None, + ) -> MultiVector[ArithmeticExpression]: + """ + :returns: a :class:`pymbolic.geometric_algebra.MultiVector` representing + the derivative of the reference-to-global parametrization. """ par_grad = parametrization_derivative_matrix(ambient_dim, dim, dofdesc) @@ -802,7 +826,8 @@ def parametrization_derivative( def pseudoscalar( ambient_dim: int, dim: int | None = None, - dofdesc: DOFDescriptorLike = None): + dofdesc: DOFDescriptorLike = None, + ) -> MultiVector[ArithmeticExpression]: """ Same as the outer product of all parametrization derivative columns. """ @@ -818,7 +843,8 @@ def pseudoscalar( def area_element( ambient_dim: int, dim: int | None = None, - dofdesc: DOFDescriptorLike = None): + dofdesc: DOFDescriptorLike = None, + ) -> ArithmeticExpression: return cse( sqrt(pseudoscalar(ambient_dim, dim, dofdesc).norm_squared()), "area_element", cse_scope.DISCRETIZATION) @@ -827,7 +853,8 @@ def area_element( def sqrt_jac_q_weight( ambient_dim: int, dim: int | None = None, - dofdesc: DOFDescriptorLike = None): + dofdesc: DOFDescriptorLike = None, + ) -> ArithmeticExpression: dofdesc = as_dofdesc(dofdesc) return cse( sqrt( @@ -836,7 +863,11 @@ def sqrt_jac_q_weight( "sqrt_jac_q_weight", cse_scope.DISCRETIZATION) -def normal(ambient_dim: int, dim: int | None = None, dofdesc: DOFDescriptorLike = None): +def normal( + ambient_dim: int, + dim: int | None = None, + dofdesc: DOFDescriptorLike = None, + ) -> MultiVector[ArithmeticExpression]: """Exterior unit normals.""" # Don't be tempted to add a sign here. As it is, it produces @@ -856,7 +887,8 @@ def normal(ambient_dim: int, dim: int | None = None, dofdesc: DOFDescriptorLike def mean_curvature( ambient_dim: int, dim: int | None = None, - dofdesc: DOFDescriptorLike = None): + dofdesc: DOFDescriptorLike = None, + ) -> ArithmeticExpression: """(Numerical) mean curvature.""" if dim is None: @@ -885,7 +917,8 @@ def mean_curvature( def first_fundamental_form( ambient_dim: int, dim: int | None = None, - dofdesc: DOFDescriptorLike = None): + dofdesc: DOFDescriptorLike = None, + ) -> ObjectArray2D[ArithmeticExpression]: if dim is None: dim = ambient_dim - 1 @@ -896,7 +929,8 @@ def first_fundamental_form( def second_fundamental_form( ambient_dim: int, dim: int | None = None, - dofdesc: DOFDescriptorLike = None): + dofdesc: DOFDescriptorLike = None, + ) -> ObjectArray2D[ArithmeticExpression]: """Compute the second fundamental form of a surface. This is in reference to the reference-to-global mapping in use for each element. @@ -940,7 +974,8 @@ def second_fundamental_form( def shape_operator( ambient_dim: int, dim: int | None = None, - dofdesc: DOFDescriptorLike = None): + dofdesc: DOFDescriptorLike = None, + ) -> ObjectArray2D[ArithmeticExpression]: if dim is None: dim = ambient_dim - 1 @@ -950,23 +985,23 @@ def shape_operator( # https://en.wikipedia.org/w/index.php?title=Differential_geometry_of_surfaces&oldid=833587563 (E, F), (_F, G) = first_fundamental_form(ambient_dim, dim, dofdesc) (e, f), (_f, g) = second_fundamental_form(ambient_dim, dim, dofdesc) - reveal_type(E) result = np.zeros((2, 2), dtype=object) result[0, 0] = e*G-f*F result[0, 1] = f*G-g*F result[1, 0] = f*E-e*F result[1, 1] = g*E-f*F - result_obj = from_numpy(result, ArithmeticExpression) + return cse( - 1/(E*G-F*F)*result_obj, + 1/(E*G-F*F)*from_numpy(result), "shape_operator") def _element_size( ambient_dim: int, dim: int | None = None, - dofdesc: DOFDescriptorLike = None): + dofdesc: DOFDescriptorLike = None, + ) -> ArithmeticExpression: # A broken quasi-1D approximation of 1D element size. Do not use. if dim is None: dim = ambient_dim - 1 @@ -978,7 +1013,9 @@ def _element_size( dofdesc)**(1/dim) -def _small_mat_inverse(mat): +def _small_mat_inverse( + mat: ObjectArray2D[ArithmeticExpression], + ) -> ObjectArray2D[ArithmeticExpression]: m, n = mat.shape if m != n: raise ValueError( @@ -986,18 +1023,22 @@ def _small_mat_inverse(mat): f"got a {m}x{n} matrix") if m == 1: - return np.array([[1/mat[0, 0]]], dtype=object) + result = np.array([[1/mat[0, 0]]], dtype=object) elif m == 2: (a, b), (c, d) = mat - return 1/(a*d - b*c) * np.array([ + result = 1/(a*d - b*c) * np.array([ [d, -b], [-c, a], ], dtype=object) else: raise NotImplementedError(f"inverse formula for {m}x{n} matrices") + return from_numpy(result) + -def _small_mat_eigenvalues(mat): +def _small_mat_eigenvalues( + mat: ObjectArray2D[ArithmeticExpression], + ) -> ObjectArray1D[ArithmeticExpression]: m, n = mat.shape if m != n: raise ValueError( @@ -1022,7 +1063,9 @@ def _small_mat_eigenvalues(mat): raise NotImplementedError(f"eigenvalue formula for {m}x{n} matrices") -def _small_sym_mat_eigenvalues(mat): +def _small_sym_mat_eigenvalues( + mat: ObjectArray2D[ArithmeticExpression], + ) -> ObjectArray1D[ArithmeticExpression]: m, n = mat.shape if m != n: raise ValueError( @@ -1052,7 +1095,8 @@ def _small_sym_mat_eigenvalues(mat): def _equilateral_parametrization_derivative_matrix( ambient_dim: int, dim: int | None = None, - dofdesc: DOFDescriptorLike = None): + dofdesc: DOFDescriptorLike = None, + ) -> ObjectArray2D[ArithmeticExpression]: if dim is None: dim = ambient_dim - 1 @@ -1065,20 +1109,18 @@ def _equilateral_parametrization_derivative_matrix( # This is the Jacobian of the (equilateral reference element) -> (global) map. return cse( - np.dot(pder_mat, equi_to_unit), + pder_mat @ equi_to_unit, "equilateral_pder_mat") def _simplex_mapping_max_stretch_factor( ambient_dim: int, dim: int | None = None, - dofdesc: DOFDescriptorLike = None): - """Return the largest factor by which the reference-to-global - mapping stretches the bi-unit (i.e. :math:`[-1, 1]`) reference - element along any axis. - - If *map_elementwise_max* is True, returns a DOF vector that is elementwise - constant. + dofdesc: DOFDescriptorLike = None, + ) -> ArithmeticExpression: + """ + :returns: the largest factor by which the reference-to-global mapping stretches + the bi-unit (i.e. :math:`[-1, 1]`) reference element along any axis. """ if dim is None: @@ -1098,7 +1140,7 @@ def _simplex_mapping_max_stretch_factor( # Compute eigenvalues of J^T to compute SVD. equi_pder_mat_jtj = cse( - np.dot(equi_pder_mat.T, equi_pder_mat), + equi_pder_mat.T @ equi_pder_mat, "pd_mat_jtj") stretch_factors = [ @@ -1115,7 +1157,8 @@ def _simplex_mapping_max_stretch_factor( def _hypercube_mapping_max_stretch_factor( ambient_dim: int, dim: int | None = None, - dofdesc: DOFDescriptorLike = None): + dofdesc: DOFDescriptorLike = None, + ) -> ArithmeticExpression: if dim is None: dim = ambient_dim - 1 @@ -1136,7 +1179,8 @@ def _hypercube_mapping_max_stretch_factor( def _mapping_max_stretch_factor( ambient_dim: int, dim: int | None = None, - dofdesc: DOFDescriptorLike = None): + dofdesc: DOFDescriptor | None = None, + ) -> ArithmeticExpression: simplex_stretch_factor = _simplex_mapping_max_stretch_factor( ambient_dim, dim, dofdesc=dofdesc) hypercube_stretch_factor = _hypercube_mapping_max_stretch_factor( @@ -1144,6 +1188,8 @@ def _mapping_max_stretch_factor( import modepy as mp from pymbolic.primitives import If + + dofdesc = as_dofdesc(dofdesc) stretch_factor = If(IsShapeClass(mp.Simplex, dofdesc), simplex_stretch_factor, If(IsShapeClass(mp.Hypercube, dofdesc), @@ -1157,7 +1203,8 @@ def _mapping_max_stretch_factor( def _max_curvature( ambient_dim: int, dim: int | None = None, - dofdesc: DOFDescriptorLike = None): + dofdesc: DOFDescriptorLike = None, + ) -> ArithmeticExpression: # An attempt at a 'max curvature' criterion. if dim is None: @@ -1173,20 +1220,22 @@ def _max_curvature( from pymbolic.primitives import Max return cse(Max(tuple(abs_principal_curvatures))) else: - raise NotImplementedError("curvature criterion not implemented in %d " - "dimensions" % ambient_dim) + raise NotImplementedError( + f"curvature criterion not implemented in {ambient_dim} dimensions") def _scaled_max_curvature( - ambient_dim: int, - dim: int | None = None, - dofdesc: DOFDescriptorLike = None): + ambient_dim: int, + dim: int | None = None, + dofdesc: DOFDescriptorLike = None, + ) -> ArithmeticExpression: """An attempt at a unit-less, scale-invariant quantity that characterizes 'how much curviness there is on an element'. Values seem to hover around 1 on typical meshes. Empirical evidence suggests that elements exceeding a threshold of about 0.8-1 will have high QBX truncation error. """ + dofdesc = as_dofdesc(dofdesc) return ( _max_curvature(ambient_dim, dim, dofdesc=dofdesc) * _mapping_max_stretch_factor(ambient_dim, dim=dim, dofdesc=dofdesc)) @@ -1196,7 +1245,7 @@ def _scaled_max_curvature( # {{{ qbx-specific geometry -def _expansion_radii_factor(ambient_dim: int, dim: int | None): +def _expansion_radii_factor(ambient_dim: int, dim: int | None) -> float: if dim is None: dim = ambient_dim - 1 @@ -1208,7 +1257,8 @@ def _quad_resolution( ambient_dim: int, dim: int | None = None, granularity: DOFGranularity | None = None, - dofdesc: DOFDescriptorLike = None): + dofdesc: DOFDescriptorLike = None, + ) -> ArithmeticExpression: """This measures the quadrature resolution across the mesh. In a 1D uniform mesh of uniform 'parametrization speed', it should be the same as the element length. @@ -1231,7 +1281,8 @@ def _source_danger_zone_radii( ambient_dim: int, dim: int | None = None, granularity: DOFGranularity | None = None, - dofdesc: DOFDescriptorLike = None): + dofdesc: DOFDescriptorLike = None, + ) -> ArithmeticExpression: # This should be the expression of the expansion radii, but # # - in reference to the stage 2 discretization @@ -1250,8 +1301,9 @@ def _source_danger_zone_radii( def _close_target_tunnel_radii( ambient_dim: int, dim: int | None = None, - granularity: DOFGranularity = None, - dofdesc: DOFDescriptorLike = None): + granularity: DOFGranularity | None = None, + dofdesc: DOFDescriptorLike = None, + ) -> ArithmeticExpression: return 0.5 * expansion_radii(ambient_dim, dim=dim, granularity=granularity, dofdesc=dofdesc) @@ -1259,8 +1311,9 @@ def _close_target_tunnel_radii( def expansion_radii( ambient_dim: int, dim: int | None = None, - granularity=None, - dofdesc: DOFDescriptorLike = None): + granularity: DOFGranularity | None = None, + dofdesc: DOFDescriptorLike = None, + ) -> ArithmeticExpression: factor = _expansion_radii_factor(ambient_dim, dim) return cse(factor * _quad_resolution(ambient_dim, dim=dim, granularity=granularity, dofdesc=dofdesc), @@ -1270,9 +1323,10 @@ def expansion_radii( def expansion_centers( ambient_dim: int, - side: QBXForcedLimit, + side: Side, dim: int | None = None, - dofdesc: DOFDescriptorLike = None): + dofdesc: DOFDescriptorLike = None, + ) -> ObjectArray1D[ArithmeticExpression]: x = nodes(ambient_dim, dofdesc=dofdesc) normals = normal(ambient_dim, dim=dim, dofdesc=dofdesc) radii = expansion_radii(ambient_dim, dim=dim, @@ -1288,7 +1342,8 @@ def interleaved_expansion_centers( ambient_dim: int, dim: int | None = None, dofdesc: DOFDescriptorLike = None - ): + ) -> tuple[ObjectArray1D[ArithmeticExpression], + ObjectArray1D[ArithmeticExpression]]: centers = ( expansion_centers(ambient_dim, -1, dim=dim, dofdesc=dofdesc), expansion_centers(ambient_dim, +1, dim=dim, dofdesc=dofdesc) @@ -1299,7 +1354,11 @@ def interleaved_expansion_centers( return interpolate(centers, source, target) -def h_max(ambient_dim: int, dim: int | None = None, dofdesc: DOFDescriptorLike = None): +def h_max( + ambient_dim: int, + dim: int | None = None, + dofdesc: DOFDescriptorLike = None, + ) -> ArithmeticExpression: """Defines a maximum element size in the discretization.""" r = _quad_resolution(ambient_dim, dim=dim, dofdesc=dofdesc) @@ -1308,7 +1367,11 @@ def h_max(ambient_dim: int, dim: int | None = None, dofdesc: DOFDescriptorLike = cse_scope.DISCRETIZATION) -def h_min(ambient_dim: int, dim: int | None = None, dofdesc: DOFDescriptorLike = None): +def h_min( + ambient_dim: int, + dim: int | None = None, + dofdesc: DOFDescriptorLike = None, + ) -> ArithmeticExpression: """Yields an approximate minimum element size in the discretization.""" r = _quad_resolution(ambient_dim, dim=dim, dofdesc=dofdesc) @@ -1320,7 +1383,8 @@ def h_min(ambient_dim: int, dim: int | None = None, dofdesc: DOFDescriptorLike = def weights_and_area_elements( ambient_dim: int, dim: int | None = None, - dofdesc: DOFDescriptorLike = None): + dofdesc: DOFDescriptorLike = None, + ) -> ArithmeticExpression: """Combines :func:`area_element` and :class:`QWeight`.""" dofdesc = as_dofdesc(dofdesc) area = area_element(ambient_dim, dim=dim, dofdesc=dofdesc) @@ -1363,13 +1427,13 @@ def __new__(cls, if from_dd == to_dd: return operand - if isinstance(operand, np.ndarray | MultiVector): + if isinstance(operand, ObjectArray | MultiVector): warn(f"Passing {type(operand)} directly to {cls.__name__!r} " "is deprecated and will result in an error from 2025. Use " "the 'interpolate' function instead.", DeprecationWarning, stacklevel=3) - def make_op(operand_i): + def make_op(operand_i: ArithmeticExpression) -> ArithmeticExpression: return cls(from_dd, to_dd, operand_i) return componentwise(make_op, operand) @@ -1395,7 +1459,9 @@ def __post_init__(self) -> None: @deprecated("Use interpolate") -def interp(from_dd, to_dd, operand): +def interp(from_dd: DOFDescriptorLike, + to_dd: DOFDescriptorLike, + operand: Operand) -> Interpolation: warn("Calling 'interp' is deprecated and it will be removed in 2025. Use " "'interpolate' instead (has a different argument order).", DeprecationWarning, stacklevel=2) @@ -1404,9 +1470,9 @@ def interp(from_dd, to_dd, operand): @for_each_expression -def interpolate(operand: OperandTc, +def interpolate(operand: ArithmeticExpression, from_dd: DOFDescriptorLike, - to_dd: DOFDescriptorLike) -> OperandTc: + to_dd: DOFDescriptorLike) -> Interpolation: from_dd = as_dofdesc(from_dd) to_dd = as_dofdesc(to_dd) @@ -1427,14 +1493,14 @@ class SingleScalarOperandExpression(ExpressionNode): def __new__(cls, operand: Operand | None = None) -> SingleScalarOperandExpression: - if isinstance(operand, np.ndarray | MultiVector): + if isinstance(operand, ObjectArray | MultiVector): name = cls.mapper_method[4:] warn(f"Passing {type(operand)} directly to {cls.__name__!r} " "is deprecated and will result in an error from 2025. Use " f"the '{name}' function instead.", DeprecationWarning, stacklevel=3) - def make_op(operand_i): + def make_op(operand_i: ArithmeticExpression) -> ArithmeticExpression: return cls(operand_i) return componentwise(make_op, operand) @@ -1484,8 +1550,9 @@ def node_min(expr: ArithmeticExpression) -> NodeMin: def integral( ambient_dim: int, dim: int, - operand: Operand, - dofdesc: DOFDescriptorLike = None): + operand: OperandTc, + dofdesc: DOFDescriptorLike = None, + ) -> OperandTc: """A volume integral of *operand*.""" dofdesc = as_dofdesc(dofdesc) @@ -1513,14 +1580,14 @@ def __new__(cls, operand: Operand | None = None, dofdesc: DOFDescriptorLike | None = None, ) -> SingleScalarOperandExpressionWithWhere: - if isinstance(operand, np.ndarray | MultiVector): + if isinstance(operand, ObjectArray | MultiVector): name = cls.mapper_method[4:] warn(f"Passing {type(operand)} directly to {cls.__name__!r} " "is deprecated and will result in an error from 2025. Use " f"the '{name}' function instead.", DeprecationWarning, stacklevel=2) - def make_op(operand_i): + def make_op(operand_i: ArithmeticExpression) -> ArithmeticExpression: return cls(operand_i, as_dofdesc(dofdesc)) return componentwise(make_op, operand) @@ -1601,22 +1668,25 @@ def __post_init__(self) -> None: object.__setattr__(self, "dofdesc", as_dofdesc(self.dofdesc)) -def ones_vec(dim: int, dofdesc: DOFDescriptorLike = None): +def ones_vec(dim: int, + dofdesc: DOFDescriptorLike = None) -> MultiVector[ArithmeticExpression]: dofdesc = as_dofdesc(dofdesc) return MultiVector(obj_array.new_1d(dim*[Ones(dofdesc)])) -def area(ambient_dim: int, dim: int, dofdesc: DOFDescriptorLike = None): +def area(ambient_dim: int, + dim: int, dofdesc: + DOFDescriptorLike = None) -> ArithmeticExpression: dofdesc = as_dofdesc(dofdesc) - return cse(integral(ambient_dim, dim, Ones(dofdesc), dofdesc), "area", + return cse( + integral(ambient_dim, dim, Ones(dofdesc), dofdesc), "area", cse_scope.DISCRETIZATION) -def mean( - ambient_dim: int, - dim: int, - operand: Operand, - dofdesc: DOFDescriptorLike = None): +def mean(ambient_dim: int, + dim: int, + operand: Operand, + dofdesc: DOFDescriptorLike = None) -> Operand: return ( integral(ambient_dim, dim, operand, dofdesc) / area(ambient_dim, dim, dofdesc)) @@ -1669,7 +1739,8 @@ class Derivative(DerivativeBase): """ @property - def nabla(self): + @override + def nabla(self) -> Nabla: raise ValueError("Derivative.nabla should not be used" "--use Derivative.dnabla instead. (Note the extra 'd')" "To explain: 'nabla' was intended to be " @@ -1677,17 +1748,19 @@ def nabla(self): "idea.") @staticmethod - def resolve(expr): + @override + def resolve(expr: ArithmeticExpression) -> ArithmeticExpression: from pytential.symbolic.mappers import DerivativeBinder return DerivativeBinder()(expr) def dd_axis(axis: int, ambient_dim: int, operand: OperandTc) -> OperandTc: - """Return the derivative along (XYZ) axis *axis* - (in *ambient_dim*-dimensional space) of *operand*. + """ + :returns: the derivative along (XYZ) axis *axis* (in *ambient_dim*-dimensional + space) of *operand*. """ if isinstance(operand, ObjectArray): - def dd_axis_comp(operand_i: ArithmeticExpression): + def dd_axis_comp(operand_i: ArithmeticExpression) -> ArithmeticExpression: return dd_axis(axis, ambient_dim, operand_i) return obj_array.vectorize(dd_axis_comp, operand) @@ -1713,18 +1786,18 @@ def grad_mv( ambient_dim: int, operand: ArithmeticExpression ) -> MultiVector[ArithmeticExpression]: - """Return the *ambient_dim*-dimensional gradient of - *operand* as a :class:`pymbolic.geometric_algebra.MultiVector`. + """ + :returns: the *ambient_dim*-dimensional gradient of *operand*. """ d = Derivative() - return cast("MultiVector[ArithmeticExpression]", - cast("object", d.resolve(d.dnabla(ambient_dim) * d(operand)))) + return d.resolve(d.dnabla(ambient_dim) * d(operand)) -def grad(ambient_dim: int, operand: OperandTc): - """Return the *ambient_dim*-dimensional gradient of - *operand* as a :class:`numpy.ndarray`. +def grad(ambient_dim: int, + operand: ArithmeticExpression) -> ObjectArray1D[ArithmeticExpression]: + """ + :returns: the *ambient_dim*-dimensional gradient of *operand*. """ return from_numpy(grad_mv(ambient_dim, operand).as_vector()) @@ -1732,17 +1805,23 @@ def grad(ambient_dim: int, operand: OperandTc): def laplace(ambient_dim: int, operand: OperandTc) -> OperandTc: d = Derivative() nabla = d.dnabla(ambient_dim) - return d.resolve(nabla | d( - d.resolve(nabla * d(operand)))).as_scalar() + + return d.resolve( + nabla + | d(d.resolve(nabla * d(operand))) + ).as_scalar() # {{{ potentials -def hashable_kernel_args(kernel_arguments): - hashable_args = [] +def hashable_kernel_args( + kernel_arguments: KernelArgumentMapping + ) -> tuple[tuple[Hashable, Hashable], ...]: + hashable_args: list[tuple[Hashable, Hashable]] = [] for key, val in sorted(kernel_arguments.items()): - if isinstance(val, np.ndarray): - val = tuple(val) + if isinstance(val, ObjectArray): + val = tuple(val.flat) + hashable_args.append((key, val)) return tuple(hashable_args) @@ -1782,7 +1861,7 @@ class IntG(ExpressionNode): derivatives attached. k-th elements represents the k-th source derivative operator above. """ - densities: tuple[ExpressionNode, ...] + densities: tuple[ArithmeticExpression, ...] """A tuple of density expressions. Length of this tuple must match the length of the *source_kernels* arguments. """ @@ -1816,7 +1895,7 @@ class IntG(ExpressionNode): concrete target set by :func:`pytential.bind`. """ - kernel_arguments: dict[str, Operand] = field(default_factory=dict) + kernel_arguments: KernelArgumentMapping = field(default_factory=dict) """A dictionary mapping named :class:`~sumpy.kernel.Kernel` arguments (see :meth:`~sumpy.kernel.Kernel.get_args` and :meth:`~sumpy.kernel.Kernel.get_source_args`) to expressions that determine @@ -1827,16 +1906,19 @@ def __init__( self, target_kernel: Kernel, source_kernels: Iterable[Kernel], - densities: Iterable[ExpressionNode], + densities: Iterable[ArithmeticExpression], qbx_forced_limit: QBXForcedLimit, source: DOFDescriptorLike | None = None, target: DOFDescriptorLike | None = None, - kernel_arguments: dict[str, Any] | None = None, - **kwargs: Any + kernel_arguments: KernelArgumentLike | None = None, + **kwargs: Operand ) -> None: if kernel_arguments is None: kernel_arguments = {} + if isinstance(kernel_arguments, tuple): + kernel_arguments = dict(kernel_arguments) + if kwargs: warn(f"Passing named '**kwargs' to {type(self).__name__!r} is " "deprecated and will result in an error in 2025. Use the " @@ -1858,7 +1940,7 @@ def __init__( object.__setattr__(self, "target", target) object.__setattr__(self, "kernel_arguments", kernel_arguments) - self.__post_init__() + super().__init__() def __post_init__(self) -> None: if self.qbx_forced_limit not in {-1, +1, -2, +2, "avg", None}: @@ -1909,7 +1991,7 @@ def __post_init__(self) -> None: kernels = (*self.source_kernels, self.target_kernel) single_valued(kernel.get_base_kernel() for kernel in kernels) - kernel_arg_names = set() + kernel_arg_names: set[str] = set() for kernel in kernels: for karg in (kernel.get_args() + kernel.get_source_args()): kernel_arg_names.add(karg.loopy_arg.name) @@ -1928,7 +2010,7 @@ def __post_init__(self) -> None: "Kernel argument(s) not recognized: '{}'".format(", ".join(extra_args)) ) - def copy(self, **kwargs) -> IntG: + def copy(self, **kwargs: Any) -> IntG: warn(f"'{type(self).__name__}.copy' is deprecated and will be removed in " f"2025. {type(self)} is a dataclass now and can use " "'dataclasses.replace'.", DeprecationWarning, stacklevel=2) @@ -1936,7 +2018,8 @@ def copy(self, **kwargs) -> IntG: from dataclasses import replace return replace(self, **kwargs) - def __eq__(self, other: Any) -> bool: + @override + def __eq__(self, other: object) -> bool: if self is other: return True if self.__class__ is not other.__class__: @@ -1956,6 +2039,7 @@ def __eq__(self, other: Any) -> bool: == hashable_kernel_args(other.kernel_arguments)) ) + @override def __hash__(self) -> int: return hash(( self.target_kernel, @@ -1970,9 +2054,8 @@ def __hash__(self) -> int: _DIR_VEC_NAME = "dsource_vec" -def _insert_source_derivative_into_kernel(kernel): - # Inserts the source derivative at the innermost - # kernel wrapping level. +def _insert_source_derivative_into_kernel(kernel: Kernel) -> Kernel: + # Inserts the source derivative at the innermost kernel wrapping level. from sumpy.kernel import DirectionalSourceDerivative if kernel.get_base_kernel() is kernel: @@ -1983,39 +2066,52 @@ def _insert_source_derivative_into_kernel(kernel): _insert_source_derivative_into_kernel(kernel.inner_kernel)) -def _get_dir_vec(dsource, ambient_dim: int): +def _get_dir_vec( + dsource: ArithmeticExpression, + ambient_dim: int, + ) -> ObjectArray1D[ArithmeticExpression]: from pymbolic.mapper.coefficient import ( CoefficientCollector as CoefficientCollectorBase, + CoeffsT, ) class _DSourceCoefficientFinder(CoefficientCollectorBase): - def map_nabla_component(self, expr): + def map_nabla_component(self, expr: NablaComponent) -> CoeffsT: return {expr: 1} - def map_variable(self, expr): + @override + def map_variable(self, expr: Variable) -> CoeffsT: return {1: expr} - def map_common_subexpression(self, expr): + def map_common_subexpression(self, expr: CommonSubexpression) -> CoeffsT: return {1: expr} - def map_quotient(self, expr): + @override + def map_quotient(self, expr: Quotient) -> CoeffsT: return {1: expr} - coeffs = _DSourceCoefficientFinder()(dsource) + coeffs = dict(_DSourceCoefficientFinder()(dsource)) - dir_vec = np.zeros(ambient_dim, object) + dir_vec = np.zeros(ambient_dim, dtype=object) for i in range(ambient_dim): dir_vec[i] = coeffs.pop(NablaComponent(i, None), 0) if coeffs: raise RuntimeError("source derivative expression contained constant term") - return dir_vec + return from_numpy(dir_vec) -def int_g_dsource(ambient_dim: int, dsource, kernel, density, - qbx_forced_limit, source=None, target=None, - kernel_arguments=None, **kwargs): +def int_g_dsource( + ambient_dim: int, + dsource: MultiVector[ArithmeticExpression], + kernel: Kernel, + density: Operand, + qbx_forced_limit: QBXForcedLimit, + source: DOFDescriptorLike | None = None, + target: DOFDescriptorLike | None = None, + kernel_arguments: KernelArgumentLike | None = None, + **kwargs: Operand) -> MultiVector[ArithmeticExpression]: r""" .. math:: @@ -2034,10 +2130,12 @@ def int_g_dsource(ambient_dim: int, dsource, kernel, density, kernel = _insert_source_derivative_into_kernel(kernel) nabla = MultiVector(obj_array.new_1d( - [NablaComponent(axis, None) - for axis in range(ambient_dim)])) + [NablaComponent(axis, None) for axis in range(ambient_dim)] + )) - def add_dir_vec_to_kernel_args(coeff): + def add_dir_vec_to_kernel_args( + coeff: ArithmeticExpression + ) -> KernelArgumentMapping: result = kernel_arguments.copy() result[_DIR_VEC_NAME] = _get_dir_vec(coeff, ambient_dim) return result @@ -2062,8 +2160,47 @@ class _unspecified: # noqa: N801 pass -def int_g_vec(kernel, density, qbx_forced_limit, source=None, target=None, - kernel_arguments=None, **kwargs): +@overload +def int_g_vec( + kernel: Kernel, + density: ArithmeticExpression, + qbx_forced_limit: QBXForcedLimit, + source: DOFDescriptorLike = None, + target: DOFDescriptorLike = None, + kernel_arguments: KernelArgumentLike | None = None, + **kwargs: Operand) -> IntG: ... + + +@overload +def int_g_vec( + kernel: Kernel, + density: ObjectArrayND[ArithmeticExpression], + qbx_forced_limit: QBXForcedLimit, + source: DOFDescriptorLike = None, + target: DOFDescriptorLike = None, + kernel_arguments: KernelArgumentLike | None = None, + **kwargs: Operand) -> ObjectArrayND[IntG]: ... + + +@overload +def int_g_vec( + kernel: Kernel, + density: MultiVector[ArithmeticExpression], + qbx_forced_limit: QBXForcedLimit, + source: DOFDescriptorLike = None, + target: DOFDescriptorLike = None, + kernel_arguments: KernelArgumentLike | None = None, + **kwargs: Operand) -> MultiVector[ArithmeticExpression]: ... + + +def int_g_vec( + kernel: Kernel, + density: Operand, + qbx_forced_limit: QBXForcedLimit, + source: DOFDescriptorLike = None, + target: DOFDescriptorLike = None, + kernel_arguments: KernelArgumentLike | None = None, + **kwargs: Operand) -> Operand: """ Creates a vector of :class:`IntG` objects from one kernel with source and target derivatives and maps a vector of densities into a vector of @@ -2087,10 +2224,13 @@ def int_g_vec(kernel, density, qbx_forced_limit, source=None, target=None, if kernel_arguments is None: kernel_arguments = {} - if kwargs is not None: + if isinstance(kernel_arguments, tuple): + kernel_arguments = dict(kernel_arguments) + + if kwargs: kernel_arguments = {**kernel_arguments, **kwargs} - def make_op(operand_i): + def make_op(operand_i: ArithmeticExpression) -> IntG: return IntG( target_kernel=target_kernel, source_kernels=source_kernels, @@ -2100,19 +2240,25 @@ def make_op(operand_i): target=as_dofdesc(target), kernel_arguments=kernel_arguments) - if isinstance(density, np.ndarray | MultiVector): + if isinstance(density, (ObjectArray, MultiVector)): return componentwise(make_op, density) else: return make_op(density) -def S(kernel, density, - qbx_forced_limit=_unspecified, source=None, target=None, - kernel_arguments=None, **kwargs): +def S( + kernel: Kernel, + density: Operand, + qbx_forced_limit: QBXForcedLimit = _unspecified, + source: DOFDescriptorLike = None, + target: DOFDescriptorLike = None, + kernel_arguments: KernelArgumentLike | None = None, + **kwargs: Operand, + ) -> Operand: if qbx_forced_limit is _unspecified: - warn("not specifying qbx_forced_limit on call to 'S' is deprecated, " - "defaulting to +1", stacklevel=2) + warn("Not specifying 'qbx_forced_limit' on call to 'S' is deprecated. " + "Choosing default to '+1'.", stacklevel=2) qbx_forced_limit = +1 return int_g_vec(kernel, density, qbx_forced_limit, source, target, @@ -2123,7 +2269,8 @@ def tangential_derivative( ambient_dim: int, operand: Operand, dim: int | None = None, - dofdesc: DOFDescriptorLike = None): + dofdesc: DOFDescriptorLike = None, + ) -> MultiVector[ArithmeticExpression]: pder = ( pseudoscalar(ambient_dim, dim, dofdesc) / area_element(ambient_dim, dim, dofdesc)) @@ -2136,9 +2283,10 @@ def tangential_derivative( def normal_derivative( ambient_dim: int, - operand, + operand: Operand, dim: int | None = None, - dofdesc: DOFDescriptorLike = None): + dofdesc: DOFDescriptorLike = None, + ) -> MultiVector[ArithmeticExpression]: d = Derivative() return d.resolve( (normal(ambient_dim, dim, dofdesc).scalar_product(d.dnabla(ambient_dim))) @@ -2147,9 +2295,10 @@ def normal_derivative( def normal_second_derivative( ambient_dim: int, - operand, + operand: Operand, dim: int | None = None, - dofdesc: DOFDescriptorLike = None): + dofdesc: DOFDescriptorLike = None, + ) -> MultiVector[ArithmeticExpression]: d = Derivative() n = normal(ambient_dim, dim, dofdesc) nabla = d.dnabla(ambient_dim) @@ -2159,81 +2308,135 @@ def normal_second_derivative( )) -def Sp(kernel, *args, **kwargs): - dofdesc = kwargs.get("target") - if "qbx_forced_limit" not in kwargs: - warn("not specifying qbx_forced_limit on call to 'Sp' is deprecated, " - "defaulting to 'avg'", DeprecationWarning, stacklevel=2) - kwargs["qbx_forced_limit"] = "avg" +def Sp( + kernel: Kernel, + density: Operand, + qbx_forced_limit: QBXForcedLimit = _unspecified, + source: DOFDescriptorLike | None = None, + target: DOFDescriptorLike | None = None, + kernel_arguments: KernelArgumentLike | None = None, + ambient_dim: int | None = None, + dim: int | None = None, + **kwargs: Operand, + ) -> Operand: + if qbx_forced_limit is _unspecified: + warn("Not specifying 'qbx_forced_limit' on call to 'Sp' is deprecated. " + "Choosing default 'avg'.", stacklevel=2) + qbx_forced_limit = "avg" - ambient_dim = kwargs.get("ambient_dim") if ambient_dim is None and isinstance(kernel, Kernel): ambient_dim = kernel.dim + if ambient_dim is None: - raise ValueError("ambient_dim must be specified, either through " - "the kernel, or directly") - dim = kwargs.pop("dim", None) + raise ValueError( + "'ambient_dim' must be specified (either through the kernel, or directly") return normal_derivative( ambient_dim, - S(kernel, *args, **kwargs), - dim=dim, dofdesc=dofdesc) + S(kernel, density, + qbx_forced_limit=qbx_forced_limit, + source=source, target=target, + kernel_arguments=kernel_arguments, **kwargs), + dim=dim, dofdesc=target) + +def Spp( + kernel: Kernel, + density: Operand, + qbx_forced_limit: QBXForcedLimit = _unspecified, + source: DOFDescriptorLike | None = None, + target: DOFDescriptorLike | None = None, + kernel_arguments: KernelArgumentLike | None = None, + ambient_dim: int | None = None, + dim: int | None = None, + **kwargs: Operand, + ) -> Operand: + if qbx_forced_limit is _unspecified: + warn("Not specifying 'qbx_forced_limit' on call to 'Spp' is deprecated. " + "Choosing default '+1'.", stacklevel=2) + qbx_forced_limit = +1 -def Spp(kernel, *args, **kwargs): - ambient_dim = kwargs.get("ambient_dim") if ambient_dim is None and isinstance(kernel, Kernel): ambient_dim = kernel.dim + if ambient_dim is None: - raise ValueError("ambient_dim must be specified, either through " - "the kernel, or directly") - dim = kwargs.pop("dim", None) + raise ValueError( + "'ambient_dim' must be specified (either through the kernel, or directly") - dofdesc = kwargs.get("target") return normal_second_derivative( ambient_dim, - S(kernel, *args, **kwargs), - dim=dim, dofdesc=dofdesc) + S(kernel, density, + qbx_forced_limit=qbx_forced_limit, + source=source, target=target, + kernel_arguments=kernel_arguments, **kwargs), + dim=dim, dofdesc=target) + +def D( + kernel: Kernel, + density: Operand, + qbx_forced_limit: QBXForcedLimit = _unspecified, + source: DOFDescriptorLike | None = None, + target: DOFDescriptorLike | None = None, + kernel_arguments: KernelArgumentLike | None = None, + ambient_dim: int | None = None, + dim: int | None = None, + **kwargs: Operand, + ) -> Operand: + if qbx_forced_limit is _unspecified: + warn("Not specifying 'qbx_forced_limit' on call to 'D' is deprecated. " + "Choosing default 'avg'.", stacklevel=2) + qbx_forced_limit = "avg" -def D(kernel, *args, **kwargs): - ambient_dim = kwargs.get("ambient_dim") if ambient_dim is None and isinstance(kernel, Kernel): ambient_dim = kernel.dim - if ambient_dim is None: - raise ValueError("ambient_dim must be specified, either through " - "the kernel, or directly") - dim = kwargs.pop("dim", None) - - dofdesc = kwargs.get("source") - if "qbx_forced_limit" not in kwargs: - warn("not specifying qbx_forced_limit on call to 'D' is deprecated, " - "defaulting to 'avg'", DeprecationWarning, stacklevel=2) - kwargs["qbx_forced_limit"] = "avg" + if ambient_dim is None: + raise ValueError( + "'ambient_dim' must be specified (either through the kernel, or directly") return int_g_dsource( ambient_dim, - normal(ambient_dim, dim, dofdesc), - kernel, *args, **kwargs).xproject(0) - + normal(ambient_dim, dim, source), + kernel, + density, + qbx_forced_limit=qbx_forced_limit, + source=source, target=target, + kernel_arguments=kernel_arguments, + **kwargs).xproject(0) + + +def Dp( + kernel: Kernel, + density: Operand, + qbx_forced_limit: QBXForcedLimit = _unspecified, + source: DOFDescriptorLike | None = None, + target: DOFDescriptorLike | None = None, + kernel_arguments: KernelArgumentLike | None = None, + ambient_dim: int | None = None, + dim: int | None = None, + **kwargs: Operand, + ) -> Operand: + if qbx_forced_limit is _unspecified: + warn("Not specifying 'qbx_forced_limit' on call to 'Dp' is deprecated. " + "Choosing default '+1'.", stacklevel=2) + qbx_forced_limit = +1 -def Dp(kernel, *args, **kwargs): - ambient_dim = kwargs.get("ambient_dim") if ambient_dim is None and isinstance(kernel, Kernel): ambient_dim = kernel.dim + if ambient_dim is None: - raise ValueError("ambient_dim must be specified, either through " - "the kernel, or directly") - dim = kwargs.pop("dim", None) - target = kwargs.get("target") - if "qbx_forced_limit" not in kwargs: - warn("not specifying qbx_forced_limit on call to 'Dp' is deprecated, " - "defaulting to +1", DeprecationWarning, stacklevel=2) - kwargs["qbx_forced_limit"] = +1 + raise ValueError( + "'ambient_dim' must be specified (either through the kernel, or directly") + return normal_derivative( ambient_dim, - D(kernel, *args, **kwargs), + D(kernel, density, + qbx_forced_limit=qbx_forced_limit, + source=source, target=target, + kernel_arguments=kernel_arguments, + ambient_dim=ambient_dim, + **kwargs), dim=dim, dofdesc=target) # }}} @@ -2248,7 +2451,8 @@ def Dp(kernel, *args, **kwargs): def tangential_onb( ambient_dim: int, dim: int | None = None, - dofdesc: DOFDescriptorLike = None): + dofdesc: DOFDescriptorLike = None, + ) -> ObjectArray2D[ArithmeticExpression]: """Return a matrix of shape ``(ambient_dim, dim)`` with orthogonal columns spanning the tangential space of the surface of *dofdesc*. """ @@ -2260,51 +2464,67 @@ def tangential_onb( # {{{ Gram-Schmidt - orth_pd_mat = np.zeros_like(pd_mat) + orth_pd_mat = np.zeros_like(obj_array.to_numpy(pd_mat)) for k in range(pd_mat.shape[1]): avec = pd_mat[:, k] q = avec for j in range(k): - q = q - np.dot(avec, orth_pd_mat[:, j])*orth_pd_mat[:, j] + bvec = cast("ObjectArray1D[ArithmeticExpression]", orth_pd_mat[:, j]) + q = q - (avec @ bvec) * bvec q = cse(q, f"q{k}") - orth_pd_mat[:, k] = cse(q/sqrt(np.sum(q**2)), f"orth_pd_vec{k}_") + orth_pd_mat[:, k] = cse(q/sqrt(obj_array.sum(q**2, None)), f"orth_pd_vec{k}_") # }}} - return orth_pd_mat + return obj_array.from_numpy(orth_pd_mat, ArithmeticExpression) -def xyz_to_tangential(xyz_vec, dofdesc: DOFDescriptorLike = None): +def xyz_to_tangential( + xyz_vec: ObjectArray1D[ArithmeticExpression], + dofdesc: DOFDescriptorLike = None, + ) -> ObjectArray1D[ArithmeticExpression]: ambient_dim = len(xyz_vec) tonb = tangential_onb(ambient_dim, dofdesc=dofdesc) return obj_array.new_1d([ - np.dot(tonb[:, i], xyz_vec) + tonb[:, i] @ xyz_vec for i in range(ambient_dim - 1) ]) -def tangential_to_xyz(tangential_vec, dofdesc: DOFDescriptorLike = None): +def tangential_to_xyz( + tangential_vec: ObjectArray1D[ArithmeticExpression], + dofdesc: DOFDescriptorLike = None, + ) -> ObjectArray1D[ArithmeticExpression]: ambient_dim = len(tangential_vec) + 1 tonb = tangential_onb(ambient_dim, dofdesc=dofdesc) - return sum( - tonb[:, i] * tangential_vec[i] - for i in range(ambient_dim - 1)) + result = sum(tonb[:, i] * tangential_vec[i] for i in range(ambient_dim - 1)) + + return cast("ObjectArray1D[ArithmeticExpression]", result) -def project_to_tangential(xyz_vec, dofdesc: DOFDescriptorLike = None): +def project_to_tangential( + xyz_vec: ObjectArray1D[ArithmeticExpression], + dofdesc: DOFDescriptorLike = None, + ) -> ObjectArray1D[ArithmeticExpression]: return tangential_to_xyz( cse(xyz_to_tangential(xyz_vec, dofdesc)), dofdesc) -def n_dot(vec, dofdesc: DOFDescriptorLike = None): +def n_dot( + vec: ObjectArray1D[ArithmeticExpression], + dofdesc: DOFDescriptorLike = None, + ) -> ArithmeticExpression: nrm = normal(len(vec), dofdesc=dofdesc).as_vector() - return np.dot(nrm, vec) + return nrm @ vec -def cross(vec_a, vec_b): +def cross( + vec_a: ObjectArray1D[ArithmeticExpression], + vec_b: ObjectArray1D[ArithmeticExpression], + ) -> ObjectArray1D[ArithmeticExpression]: assert len(vec_a) == len(vec_b) == 3 from pytools import levi_civita @@ -2315,18 +2535,23 @@ def cross(vec_a, vec_b): for i in range(3)]) -def n_cross(vec, dofdesc: DOFDescriptorLike = None): +def n_cross( + vec: ObjectArray1D[ArithmeticExpression], + dofdesc: DOFDescriptorLike = None, + ) -> ObjectArray1D[ArithmeticExpression]: return cross(normal(3, dofdesc=dofdesc).as_vector(), vec) -def div(vec): +def div(vec: ObjectArray1D[ArithmeticExpression]) -> ArithmeticExpression: ambient_dim = len(vec) return sum( dd_axis(iaxis, ambient_dim, vec[iaxis]) for iaxis in range(ambient_dim)) -def curl(vec): +def curl( + vec: ObjectArray1D[ArithmeticExpression], + ) -> ObjectArray1D[ArithmeticExpression]: from pytools import levi_civita return obj_array.new_1d([ @@ -2338,7 +2563,7 @@ def curl(vec): # }}} -def pretty(expr): +def pretty(expr: Operand) -> str: # Doesn't quite belong here, but this is exposed to the user as # "pytential.sym", so in here it goes.