[gemma4] make pytest and linters happy
This commit is contained in:
+2
-5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user