diff --git a/src/py/reactpy/reactpy/_warnings.py b/src/py/reactpy/reactpy/_warnings.py index 678b5f868..c4520604d 100644 --- a/src/py/reactpy/reactpy/_warnings.py +++ b/src/py/reactpy/reactpy/_warnings.py @@ -13,7 +13,7 @@ def warn(*args: Any, **kwargs: Any) -> Any: if TYPE_CHECKING: - warn = _warn # noqa F811 + warn = _warn # noqa: F811 def _frame_depth_in_module() -> int: diff --git a/src/py/reactpy/reactpy/backend/default.py b/src/py/reactpy/reactpy/backend/default.py index eb27ca93b..4dfeb23e8 100644 --- a/src/py/reactpy/reactpy/backend/default.py +++ b/src/py/reactpy/reactpy/backend/default.py @@ -50,7 +50,7 @@ async def serve_development_app( def _default_implementation() -> BackendImplementation[Any]: """Get the first available server implementation""" - global _DEFAULT_IMPLEMENTATION # noqa PLW0603 + global _DEFAULT_IMPLEMENTATION # noqa: PLW0603 if _DEFAULT_IMPLEMENTATION is not None: return _DEFAULT_IMPLEMENTATION diff --git a/src/py/reactpy/tests/test_core/test_layout.py b/src/py/reactpy/tests/test_core/test_layout.py index 3e9a40176..d2e1a8099 100644 --- a/src/py/reactpy/tests/test_core/test_layout.py +++ b/src/py/reactpy/tests/test_core/test_layout.py @@ -384,7 +384,7 @@ def wrapper(*args, **kwargs): @reactpy.component @add_to_live_hooks def Outer(): - nonlocal set_inner_component # noqa PLE0117 + nonlocal set_inner_component inner_component, set_inner_component = reactpy.hooks.use_state( Inner(key="first") ) diff --git a/src/py/reactpy/tests/test_utils.py b/src/py/reactpy/tests/test_utils.py index c764b04af..c71057f15 100644 --- a/src/py/reactpy/tests/test_utils.py +++ b/src/py/reactpy/tests/test_utils.py @@ -24,7 +24,7 @@ def test_basic_ref_behavior(): r = reactpy.Ref() with pytest.raises(AttributeError): - r.current # noqa B018 + r.current # noqa: B018 r.current = 4 assert r.current == 4
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: