Explorar o código

pyright ignore missing optional imports

Masen Furer hai 3 meses
pai
achega
6f49e3364a
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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