Skip to content

Commit 6e79b5a

Browse files
committed
it's ruff out there
1 parent b24c4cd commit 6e79b5a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

benchmarks/test_evaluate.py

+9
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,37 @@
22
from typing import cast
33

44
import pytest
5+
56
import reflex as rx
67

78

89
class SideBarState(rx.State):
10+
"""State for the side bar."""
11+
912
current_page: rx.Field[str] = rx.field("/")
1013

1114

1215
@dataclass(frozen=True)
1316
class SideBarPage:
17+
"""A page in the side bar."""
18+
1419
title: str
1520
href: str
1621

1722

1823
@dataclass(frozen=True)
1924
class SideBarSection:
25+
"""A section in the side bar."""
26+
2027
name: str
2128
icon: str
2229
pages: tuple[SideBarPage, ...]
2330

2431

2532
@dataclass(frozen=True)
2633
class Category:
34+
"""A category in the side bar."""
35+
2736
name: str
2837
href: str
2938
sections: tuple[SideBarSection, ...]

0 commit comments

Comments
 (0)