Skip to content

Commit 664d559

Browse files
committed
Fix tests
1 parent 814e1da commit 664d559

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

pyproject.toml

+3-5
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@ authors = [
1818
]
1919
requires-python = ">=3.9"
2020
classifiers = [
21-
"Development Status :: 4 - Beta",
21+
"Development Status :: 5 - Production/Stable",
2222
"Programming Language :: Python",
23-
"Programming Language :: Python :: 3.9",
2423
"Programming Language :: Python :: 3.10",
2524
"Programming Language :: Python :: 3.11",
25+
"Programming Language :: Python :: 3.12",
26+
"Programming Language :: Python :: 3.13",
2627
"Programming Language :: Python :: Implementation :: CPython",
2728
"Programming Language :: Python :: Implementation :: PyPy",
2829
]
@@ -164,9 +165,6 @@ extra-dependencies = [
164165
"toml",
165166
"mypy==1.8",
166167
"types-toml",
167-
"types-click",
168-
"types-tornado",
169-
"types-flask",
170168
"types-requests",
171169
]
172170

src/reactpy/_console/cli.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22

33
import click
44

5+
import reactpy
56
from reactpy._console.rewrite_props import rewrite_props
67

78

89
@click.group()
9-
@click.version_option(package_name="reactpy")
10+
@click.version_option(version=reactpy.__version__, prog_name=reactpy.__name__)
1011
def entry_point() -> None:
1112
pass
1213

tests/test_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ def example_child():
264264
),
265265
(
266266
html.div(
267-
{"dataSomething": 1, "dataSomethingElse": 2, "dataisnotdashed": 3}
267+
{"data_Something": 1, "dataSomethingElse": 2, "dataisnotdashed": 3}
268268
),
269269
'<div data-something="1" data-something-else="2" dataisnotdashed="3"></div>',
270270
),

0 commit comments

Comments
 (0)