Skip to content

Commit e122475

Browse files
bpr fixes
1 parent a9aa445 commit e122475

2 files changed

Lines changed: 49 additions & 67 deletions

File tree

.basedpyright/baseline.json

Lines changed: 48 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,5 @@
11
{
22
"files": {
3-
"./.run-pylint.py": [
4-
{
5-
"code": "reportUnknownParameterType",
6-
"range": {
7-
"startColumn": 28,
8-
"endColumn": 38,
9-
"lineCount": 1
10-
}
11-
},
12-
{
13-
"code": "reportMissingParameterType",
14-
"range": {
15-
"startColumn": 28,
16-
"endColumn": 38,
17-
"lineCount": 1
18-
}
19-
},
20-
{
21-
"code": "reportUnknownArgumentType",
22-
"range": {
23-
"startColumn": 33,
24-
"endColumn": 43,
25-
"lineCount": 1
26-
}
27-
},
28-
{
29-
"code": "reportUnknownArgumentType",
30-
"range": {
31-
"startColumn": 35,
32-
"endColumn": 39,
33-
"lineCount": 1
34-
}
35-
},
36-
{
37-
"code": "reportUnknownVariableType",
38-
"range": {
39-
"startColumn": 45,
40-
"endColumn": 49,
41-
"lineCount": 1
42-
}
43-
},
44-
{
45-
"code": "reportUnknownMemberType",
46-
"range": {
47-
"startColumn": 16,
48-
"endColumn": 27,
49-
"lineCount": 1
50-
}
51-
},
52-
{
53-
"code": "reportUnknownMemberType",
54-
"range": {
55-
"startColumn": 12,
56-
"endColumn": 23,
57-
"lineCount": 1
58-
}
59-
},
60-
{
61-
"code": "reportUnknownArgumentType",
62-
"range": {
63-
"startColumn": 20,
64-
"endColumn": 24,
65-
"lineCount": 1
66-
}
67-
}
68-
],
693
"./examples/advection/surface.py": [
704
{
715
"code": "reportUnannotatedClassAttribute",
@@ -995,6 +929,30 @@
995929
"lineCount": 1
996930
}
997931
},
932+
{
933+
"code": "reportUnannotatedClassAttribute",
934+
"range": {
935+
"startColumn": 4,
936+
"endColumn": 14,
937+
"lineCount": 1
938+
}
939+
},
940+
{
941+
"code": "reportImplicitOverride",
942+
"range": {
943+
"startColumn": 8,
944+
"endColumn": 16,
945+
"lineCount": 1
946+
}
947+
},
948+
{
949+
"code": "reportUnknownMemberType",
950+
"range": {
951+
"startColumn": 8,
952+
"endColumn": 25,
953+
"lineCount": 1
954+
}
955+
},
998956
{
999957
"code": "reportPossiblyUnboundVariable",
1000958
"range": {
@@ -1219,6 +1177,30 @@
12191177
}
12201178
],
12211179
"./grudge/geometry/metrics.py": [
1180+
{
1181+
"code": "reportUnknownMemberType",
1182+
"range": {
1183+
"startColumn": 8,
1184+
"endColumn": 31,
1185+
"lineCount": 1
1186+
}
1187+
},
1188+
{
1189+
"code": "reportUnknownArgumentType",
1190+
"range": {
1191+
"startColumn": 42,
1192+
"endColumn": 65,
1193+
"lineCount": 1
1194+
}
1195+
},
1196+
{
1197+
"code": "reportUnknownArgumentType",
1198+
"range": {
1199+
"startColumn": 48,
1200+
"endColumn": 64,
1201+
"lineCount": 1
1202+
}
1203+
},
12221204
{
12231205
"code": "reportArgumentType",
12241206
"range": {

grudge/array_context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ class MPIPytatoJAXArrayContext(PytatoJAXArrayContext, MPIBasedArrayContext): #
457457
def __init__(self, mpi_communicator: MPI.Intracomm) -> None:
458458
super().__init__()
459459

460-
self.mpi_communicator = mpi_communicator
460+
self.mpi_communicator: MPI.Intracomm = mpi_communicator
461461

462462
@override
463463
def clone(self) -> Self:

0 commit comments

Comments
 (0)