Skip to content

Commit 74db00e

Browse files
committed
chore: strict type annotations of code_annotations/
1 parent afac699 commit 74db00e

File tree

16 files changed

+375
-202
lines changed

16 files changed

+375
-202
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,5 +75,3 @@ default.db
7575
# Generated reports and test reports
7676
reports/*
7777
test_reports/*
78-
79-
**/.claude/settings.local.json

code_annotations/annotation_errors.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
List possible annotation error types.
33
"""
44
from collections import namedtuple
5-
import typing as t
65

76
AnnotationError = namedtuple(
87
"AnnotationError", ["message", "symbol", "description"]
@@ -12,7 +11,6 @@
1211
# to expose errors to pylint.
1312
TYPES: list[AnnotationError] = []
1413

15-
T = t.TypeVar('T', bound=AnnotationError)
1614

1715
def add_error_type(message: str, symbol: str, description: str) -> AnnotationError:
1816
"""

0 commit comments

Comments
 (0)