소스 검색

pyright ignore missing optional imports

Masen Furer 3 달 전
부모
커밋
6f49e3364a
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      reflex/custom_components/custom_components.py

+ 2 - 2
reflex/custom_components/custom_components.py

@@ -12,9 +12,9 @@ from pathlib import Path
 from typing import Optional, Tuple
 
 import httpx
-import tomlkit
+import tomlkit  # pyright: ignore[reportMissingImports]
 import typer
-from tomlkit.exceptions import TOMLKitError
+from tomlkit.exceptions import TOMLKitError  # pyright: ignore[reportMissingImports]
 
 from reflex import constants
 from reflex.config import environment, get_config