Skip to content

Commit f8321f2

Browse files
committed
fixup! fixup! feat: add ty
1 parent 935f764 commit f8321f2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

conformance/src/type_checker.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,15 +258,13 @@ def run_tests(self, test_files: Sequence[str]) -> dict[str, str]:
258258
def parse_errors(self, output: Sequence[str]) -> dict[int, list[str]]:
259259
# narrowing_typeguard.py:102:9 - error: User-defined type guard functions and methods must have at least one input parameter (reportGeneralTypeIssues)
260260
line_to_errors: dict[int, list[str]] = {}
261-
a = set[str]()
262261
for line in output:
263262
if not line or line[0].isspace():
264263
continue
265264
# Ignore indented notes
266265
assert line.count(":") >= 3, f"Failed to parse line: {line!r}"
267266
_, lineno, kind, _ = line.split(":", maxsplit=3)
268267
kind = kind.split()[-1]
269-
a.add(kind)
270268
if kind not in ("major", "minor"):
271269
continue
272270
line_to_errors.setdefault(int(lineno), []).append(line)

0 commit comments

Comments
 (0)