瀏覽代碼

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
 from typing import Optional, Tuple
 
 
 import httpx
 import httpx
-import tomlkit
+import tomlkit  # pyright: ignore[reportMissingImports]
 import typer
 import typer
-from tomlkit.exceptions import TOMLKitError
+from tomlkit.exceptions import TOMLKitError  # pyright: ignore[reportMissingImports]
 
 
 from reflex import constants
 from reflex import constants
 from reflex.config import environment, get_config
 from reflex.config import environment, get_config