fix: Resolves CI test failures and linting errors

This commit is contained in:
pawu
2026-02-02 01:08:59 +05:30
parent 427ea176c6
commit 3204c73c01
2 changed files with 36 additions and 36 deletions

View File

@@ -327,10 +327,10 @@ LANGUAGE_PATTERNS: dict[str, list[tuple[str, int]]] = {
"scala": [
(r"\bcase\s+class\s+\w+", 5),
(r"\btrait\s+\w+", 5),
(r"\bdef\s+\w+.*:\s*\w+", 5),
(r"\bdef\s+\w+[^:]*:\s*\w+\s*=", 5),
(r"\bimport\s+scala\.", 4),
(r"\bmatch\s*\{", 4),
(r"\bval\s+\w+.*:\s*\w+", 4),
(r"\bval\s+\w+\s*:\s*\w+\s*=", 4),
(r"\bobject\s+\w+", 5),
(r"=>", 3),
(r"\bdef\s+\w+\[\w+\]", 4),