Skip to content

Commit

Permalink
Add test retries
Browse files Browse the repository at this point in the history
  • Loading branch information
Archmonger committed Dec 12, 2024
1 parent 0b593a5 commit 0cd8218
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ extra-dependencies = [
"django-bootstrap5",
]
matrix-name-format = "{variable}-{value}"
# TODO: Remove the `retries` value once we fix flakiness of `test_sync_form_events`
# https://github.com/reactive-python/reactpy-django/issues/272
retries = 5

# Django 4.2
[[tool.hatch.envs.hatch-test.matrix]]
Expand Down
4 changes: 2 additions & 2 deletions src/reactpy_django/forms/transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ def _do_nothing_event(*args, **kwargs):
"""A placeholder event function that does nothing."""


# TODO: After the bulk of this file to ReactPy core, we should create some kind of script that will
# auto-generate this into a file dump. The current implementation of manually copy-pasting it isn't ideal.
# TODO: Create a script that will auto-generate this into a file dump.
# The current implementation of manually copy-pasting it isn't ideal.
# https://react.dev/reference/react-dom/components/common#common-props
SPECIAL_PROPS = r"""
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>.
Expand Down

0 comments on commit 0cd8218

Please sign in to comment.