Skip to content
This repository was archived by the owner on Apr 28, 2026. It is now read-only.

Commit 42a69e8

Browse files
committed
precommit
1 parent ccb13f9 commit 42a69e8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pcweb/pages/docs/component.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,7 @@ class PropDocsState(rx.State):
7878

7979
def render_select(prop: PropDocumentation, component: type[Component], prop_dict: dict):
8080
if (
81-
not safe_issubclass(
82-
component, (RadixThemesComponent, RadixPrimitiveComponent)
83-
)
81+
not safe_issubclass(component, (RadixThemesComponent, RadixPrimitiveComponent))
8482
or component.__name__ in EXCLUDED_COMPONENTS
8583
):
8684
return rx.fragment()
@@ -248,12 +246,14 @@ def color_scheme_hovercard(literal_values: list[str]) -> rx.Component:
248246
),
249247
)
250248

249+
251250
def safe_issubclass(cls, class_or_tuple):
252251
try:
253252
return issubclass(cls, class_or_tuple)
254253
except TypeError:
255254
return False
256255

256+
257257
def prop_docs(
258258
prop: PropDocumentation,
259259
prop_dict: dict,

0 commit comments

Comments
 (0)