Browse Source

pyright ignore missing optional imports

Masen Furer 3 months ago
parent
commit
6f49e3364a
1 changed files with 2 additions and 2 deletions
  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