From 885924390e16574b0526dfd857303c82acffa247 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 31 Jul 2023 20:29:19 +0000 Subject: [PATCH 1/2] chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.0.281 --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 987c8ce..28a34b8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -34,7 +34,7 @@ repos: hooks: - id: black - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.0.280 + rev: v0.0.281 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 75b03cb652948e3ba0c5a39963b8c100e220ea6a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 31 Jul 2023 20:29:32 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- wlc/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wlc/__init__.py b/wlc/__init__.py index 7340d3e..b81e596 100644 --- a/wlc/__init__.py +++ b/wlc/__init__.py @@ -432,7 +432,7 @@ def keys(self): def items(self): """Iterator over attributes.""" - for key in self.keys(): # noqa: SIM118 + for key in self.keys(): yield key, self.__getattr__(key) def to_value(self):