From f9ac85326650740b5caf43ccb67665a853f307eb Mon Sep 17 00:00:00 2001 From: eggplants Date: Mon, 17 Jul 2023 23:09:53 +0900 Subject: [PATCH] add ClassVar annotation --- deepl/deepl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deepl/deepl.py b/deepl/deepl.py index 8f43cda..8be8ed9 100644 --- a/deepl/deepl.py +++ b/deepl/deepl.py @@ -1,7 +1,7 @@ from __future__ import annotations import asyncio -from typing import TYPE_CHECKING, Any +from typing import TYPE_CHECKING, Any, ClassVar from urllib.parse import quote from install_playwright import install @@ -23,7 +23,7 @@ class DeepLCLIPageLoadError(Exception): class DeepLCLI: - fr_langs = { + fr_langs: ClassVar[set[str]] = { "auto", "bg", "cs",