more fixes
This commit is contained in:
parent
ffa94c175d
commit
26917f397c
2
.github/actions/setup_build_env/action.yml
vendored
2
.github/actions/setup_build_env/action.yml
vendored
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Exit conditions:
|
||||
# - Python of version `python-version` is ready to be invoked as `python`.
|
||||
# - Poetry of version `poetry-version` is ready ot be invoked as `poetry`.
|
||||
# - Poetry of version `poetry-version` is ready to be invoked as `poetry`.
|
||||
# - If `run-poetry-install` is true, deps as defined in `pyproject.toml` will have been installed into the venv at `create-venv-at-path`.
|
||||
|
||||
name: 'Setup Reflex build environment'
|
||||
|
@ -5,7 +5,7 @@
|
||||
We as members, contributors, and leaders pledge to make participation in our
|
||||
community a harassment-free experience for everyone, regardless of age, body
|
||||
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
||||
identity and expression, level of experience, education, socio-economic status,
|
||||
identity and expression, level of experience, education, socioeconomic status,
|
||||
nationality, personal appearance, race, religion, or sexual identity
|
||||
and orientation.
|
||||
|
||||
|
@ -249,7 +249,7 @@ We welcome contributions of any size! Below are some good ways to get started in
|
||||
- **GitHub Discussions**: A great way to talk about features you want added or things that are confusing/need clarification.
|
||||
- **GitHub Issues**: [Issues](https://github.com/reflex-dev/reflex/issues) are an excellent way to report bugs. Additionally, you can try and solve an existing issue and submit a PR.
|
||||
|
||||
We are actively looking for contributors, no matter your skill level or experience. To contribute check out [CONTIBUTING.md](https://github.com/reflex-dev/reflex/blob/main/CONTRIBUTING.md)
|
||||
We are actively looking for contributors, no matter your skill level or experience. To contribute check out [CONTRIBUTING.md](https://github.com/reflex-dev/reflex/blob/main/CONTRIBUTING.md)
|
||||
|
||||
|
||||
## All Thanks To Our Contributors:
|
||||
|
@ -27,7 +27,7 @@ FROM python:3.13 as init
|
||||
|
||||
ARG uv=/root/.local/bin/uv
|
||||
|
||||
# Install `uv` for faster package boostrapping
|
||||
# Install `uv` for faster package bootstrapping
|
||||
ADD --chmod=755 https://astral.sh/uv/install.sh /install.sh
|
||||
RUN /install.sh && rm /install.sh
|
||||
|
||||
|
@ -6,7 +6,7 @@ FROM python:3.13 as init
|
||||
|
||||
ARG uv=/root/.local/bin/uv
|
||||
|
||||
# Install `uv` for faster package boostrapping
|
||||
# Install `uv` for faster package bootstrapping
|
||||
ADD --chmod=755 https://astral.sh/uv/install.sh /install.sh
|
||||
RUN /install.sh && rm /install.sh
|
||||
|
||||
|
@ -104,4 +104,4 @@ asyncio_mode = "auto"
|
||||
|
||||
[tool.codespell]
|
||||
skip = "docs/*,*.html,examples/*, *.pyi"
|
||||
ignore-words-list = "te"
|
||||
ignore-words-list = "te, TreeE"
|
@ -28,7 +28,7 @@ export const state_name = "{{state_name}}"
|
||||
|
||||
export const exception_state_name = "{{const.frontend_exception_state}}"
|
||||
|
||||
// Theses events are triggered on initial load and each page navigation.
|
||||
// These events are triggered on initial load and each page navigation.
|
||||
export const onLoadInternalEvent = () => {
|
||||
const internal_events = [];
|
||||
|
||||
|
@ -135,7 +135,7 @@ def test_cond_computed_var():
|
||||
|
||||
comp = cond(True, CondStateComputed.computed_int, CondStateComputed.computed_str)
|
||||
|
||||
# TODO: shouln't this be a ComputedVar?
|
||||
# TODO: shouldn't this be a ComputedVar?
|
||||
assert isinstance(comp, Var)
|
||||
|
||||
state_name = format_state_name(CondStateComputed.get_full_name())
|
||||
|
@ -976,7 +976,7 @@ class InterdependentState(BaseState):
|
||||
"""A state with 3 vars and 3 computed vars.
|
||||
|
||||
x: a variable that no computed var depends on
|
||||
v1: a varable that one computed var directly depeneds on
|
||||
v1: a variable that one computed var directly depends on
|
||||
_v2: a backend variable that one computed var directly depends on
|
||||
|
||||
v1x2: a computed var that depends on v1
|
||||
@ -2685,7 +2685,7 @@ class Custom1(Base):
|
||||
self.foo = val
|
||||
|
||||
def double_foo(self) -> str:
|
||||
"""Concantenate foo with foo.
|
||||
"""Concatenate foo with foo.
|
||||
|
||||
Returns:
|
||||
foo + foo
|
||||
@ -3267,9 +3267,9 @@ async def test_setvar(mock_app: rx.App, token: str):
|
||||
print(update)
|
||||
assert state.array == [43]
|
||||
|
||||
# Cannot setvar for non-existant var
|
||||
# Cannot setvar for non-existent var
|
||||
with pytest.raises(AttributeError):
|
||||
TestState.setvar("non_existant_var")
|
||||
TestState.setvar("non_existent_var")
|
||||
|
||||
# Cannot setvar for computed vars
|
||||
with pytest.raises(AttributeError):
|
||||
|
@ -515,7 +515,7 @@ def test_var_indexing_types(var, type_):
|
||||
"""Test that indexing returns valid types.
|
||||
|
||||
Args:
|
||||
var : The list, typle base var.
|
||||
var : The list, tuple base var.
|
||||
type_ : The type on indexed object.
|
||||
|
||||
"""
|
||||
|
@ -262,7 +262,7 @@ def test_to_kebab_case(input: str, output: str):
|
||||
],
|
||||
)
|
||||
def test_format_string(input: str, output: str):
|
||||
"""Test formating the input as JS string literal.
|
||||
"""Test formatting the input as JS string literal.
|
||||
|
||||
Args:
|
||||
input: the input string.
|
||||
@ -680,7 +680,7 @@ def test_format_array_ref(input, output):
|
||||
],
|
||||
)
|
||||
def test_format_library_name(input: str, output: str):
|
||||
"""Test formating a library name to remove the @version part.
|
||||
"""Test formatting a library name to remove the @version part.
|
||||
|
||||
Args:
|
||||
input: the input string.
|
||||
|
Loading…
Reference in New Issue
Block a user