Skip to content

Commit 794ebcb

Browse files
committed
fix precommit
1 parent 9d75e2b commit 794ebcb

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,11 +218,11 @@ lint.flake8-bugbear.extend-immutable-calls = [
218218
"N",
219219
]
220220
"benchmarks/*.py" = ["ANN001", "D100", "D103", "D104", "B018", "PERF", "T", "N"]
221-
"reflex/.templates/*.py" = ["D100", "D103", "D104"]
221+
"*/.templates/*.py" = ["D100", "D103", "D104"]
222222
"*.pyi" = ["D301", "D415", "D417", "D418", "E742", "N", "PGH"]
223223
"pyi_generator.py" = ["N802"]
224224
"reflex/constants/*.py" = ["N"]
225-
"reflex/.templates/apps/blank/code/*" = ["INP001"]
225+
"*/.templates/apps/blank/code/*" = ["INP001"]
226226
"*/blank.py" = ["I001"]
227227

228228
[tool.pytest.ini_options]

tests/units/components/core/test_match.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ def test_match_case_tuple_elements(match_case):
249249
),
250250
(
251251
'Match cases should have the same return types. Case 3 with return value `"red"` of type '
252-
"<class 'reflex_core.vars.sequence.LiteralStringVar'> is not <class 'reflex.components.component.BaseComponent'>"
252+
"<class 'reflex_core.vars.sequence.LiteralStringVar'> is not <class 'reflex_core.components.component.BaseComponent'>"
253253
),
254254
),
255255
(

tests/units/utils/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ def test_output_system_info(mocker: MockerFixture):
514514
This test makes no assertions about the output, other than it executes
515515
without crashing.
516516
"""
517-
mocker.patch("reflex.utils.console._LOG_LEVEL", constants.LogLevel.DEBUG)
517+
mocker.patch("reflex_core.utils.console._LOG_LEVEL", constants.LogLevel.DEBUG)
518518
utils_exec.output_system_info()
519519

520520

0 commit comments

Comments
 (0)