From 6f49e3364a07fe4c2940e7d25c9bd9a8a7fce896 Mon Sep 17 00:00:00 2001 From: Masen Furer Date: Wed, 5 Feb 2025 13:50:05 -0800 Subject: [PATCH] pyright ignore missing optional imports --- reflex/custom_components/custom_components.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reflex/custom_components/custom_components.py b/reflex/custom_components/custom_components.py index a54004803..1b15d6672 100644 --- a/reflex/custom_components/custom_components.py +++ b/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