ci: format

This commit is contained in:
Barrett Ruth 2026-03-07 15:47:26 -05:00
parent 13438beca7
commit 900d96f7ab
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
6 changed files with 157 additions and 73 deletions

View file

@ -7,6 +7,16 @@ from abc import ABC, abstractmethod
from pathlib import Path
from typing import Any
from .language_ids import get_language_id
from .models import (
CombinedTest,
ContestListResult,
LoginResult,
MetadataResult,
SubmitResult,
TestsResult,
)
_COOKIE_FILE = Path.home() / ".cache" / "cp-nvim" / "cookies.json"
@ -37,16 +47,6 @@ def clear_platform_cookies(platform: str) -> None:
pass
from .language_ids import get_language_id
from .models import (
CombinedTest,
ContestListResult,
LoginResult,
MetadataResult,
SubmitResult,
TestsResult,
)
_PRECISION_ABS_REL_RE = re.compile(
r"(?:absolute|relative)\s+error[^.]*?10\s*[\^{]\s*\{?\s*[-\u2212]\s*(\d+)\s*\}?",
re.IGNORECASE,