[gemma4] make pytest and linters happy

This commit is contained in:
2026-06-19 11:29:36 +02:00
parent f56a94e35e
commit 6459d63f2b
5 changed files with 21 additions and 23 deletions
+2 -5
View File
@@ -1,9 +1,8 @@
from dataclasses import dataclass
from enum import Enum, auto
from enum import Enum
from lsprotocol.types import Location, Position, Range
from lsprotocol.types import Position, Range
from skillls.types import URI
class SyntaxError(Exception):
@@ -28,7 +27,6 @@ def _check_for_matching_parens(content: str) -> list[Exception]:
line = 0
col = 0
last_open: Position = Position(0, 0)
last_close: Position = Position(0, 0)
for char in content:
match char:
case "(":
@@ -45,7 +43,6 @@ def _check_for_matching_parens(content: str) -> list[Exception]:
)
)
opened = 0
last_close = Position(line, col)
case "\n":
line += 1
col = -1