From 5b2f4a870ae4244c39061c20d03538328a160085 Mon Sep 17 00:00:00 2001 From: Romain Bezut Date: Sun, 27 Oct 2024 17:43:14 +0100 Subject: [PATCH] docs: fix bad object type referenced in set_parameters. Signed-off-by: Romain Bezut --- aio_ld2410/ld2410.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aio_ld2410/ld2410.py b/aio_ld2410/ld2410.py index 6c254a2..0dc92a5 100644 --- a/aio_ld2410/ld2410.py +++ b/aio_ld2410/ld2410.py @@ -781,7 +781,7 @@ async def set_parameters(self, **kwargs: Unpack[ParametersConfig]) -> None: See Also: - :class:`set_gate_sensitivity` to set additional parameters. + :meth:`set_gate_sensitivity` to set additional parameters. Raises: CommandContextError: when called outside of the configuration context. diff --git a/pyproject.toml b/pyproject.toml index 940ee27..ec33a04 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -121,7 +121,7 @@ select = [ 'Q', # flake8-quotes 'RET', # flake8-return 'RSE', # flake8-raise - 'RUF', # Ruff-specific rules + 'RUF', # ruff-specific rules 'S', # flake8-bandit 'SIM', # flake8-simplify 'SLF', # flake8-self