From ad85fa29b63e3689accbd6ca483d2cae1ae21f74 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Apr 2022 12:52:33 -0400 Subject: [PATCH] Bump pylint from 2.12.2 to 2.13.4 (#3539) * Bump pylint from 2.12.2 to 2.13.4 Bumps [pylint](https://github.com/PyCQA/pylint) from 2.12.2 to 2.13.4. - [Release notes](https://github.com/PyCQA/pylint/releases) - [Changelog](https://github.com/PyCQA/pylint/blob/main/ChangeLog) - [Commits](https://github.com/PyCQA/pylint/compare/v2.12.2...v2.13.4) --- updated-dependencies: - dependency-name: pylint dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Explicitly provide maxsize in lru_cache decorator Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mike Degatano --- requirements_tests.txt | 2 +- supervisor/host/manager.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements_tests.txt b/requirements_tests.txt index 3cca32118..bff6a5c57 100644 --- a/requirements_tests.txt +++ b/requirements_tests.txt @@ -5,7 +5,7 @@ flake8-docstrings==1.6.0 flake8==4.0.1 pre-commit==2.18.1 pydocstyle==6.1.1 -pylint==2.12.2 +pylint==2.13.4 pytest-aiohttp==0.3.0 pytest-asyncio==0.12.0 # NB!: Versions over 0.12.0 breaks pytest-aiohttp (https://github.com/aio-libs/pytest-aiohttp/issues/16) pytest-cov==3.0.0 diff --git a/supervisor/host/manager.py b/supervisor/host/manager.py index 95b6d7a65..43dc3c00a 100644 --- a/supervisor/host/manager.py +++ b/supervisor/host/manager.py @@ -68,7 +68,7 @@ class HostManager(CoreSysAttributes): """Return a list of host features.""" return self.supported_features() - @lru_cache + @lru_cache(maxsize=128) def supported_features(self) -> list[HostFeature]: """Return a list of supported host features.""" features = []