Skip to content

Commit 0cd8218

Browse files
committed
Add test retries
1 parent 0b593a5 commit 0cd8218

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

pyproject.toml

+3
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ extra-dependencies = [
9797
"django-bootstrap5",
9898
]
9999
matrix-name-format = "{variable}-{value}"
100+
# TODO: Remove the `retries` value once we fix flakiness of `test_sync_form_events`
101+
# https://github.com/reactive-python/reactpy-django/issues/272
102+
retries = 5
100103

101104
# Django 4.2
102105
[[tool.hatch.envs.hatch-test.matrix]]

src/reactpy_django/forms/transforms.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ def _do_nothing_event(*args, **kwargs):
131131
"""A placeholder event function that does nothing."""
132132

133133

134-
# TODO: After the bulk of this file to ReactPy core, we should create some kind of script that will
135-
# auto-generate this into a file dump. The current implementation of manually copy-pasting it isn't ideal.
134+
# TODO: Create a script that will auto-generate this into a file dump.
135+
# The current implementation of manually copy-pasting it isn't ideal.
136136
# https://react.dev/reference/react-dom/components/common#common-props
137137
SPECIAL_PROPS = r"""
138138
children: A React node (an element, a string, a number, a portal, an empty node like null, undefined and booleans, or an array of other React nodes). Specifies the content inside the component. When you use JSX, you will usually specify the children prop implicitly by nesting tags like <div><span /></div>.

0 commit comments

Comments
 (0)