From: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 9 Aug 2024 14:23:48 +0000 (+0200) Subject: Bump mypy from 1.10.1 to 1.11.1 (#1545) X-Git-Url: https://git.kitaultman.com/?a=commitdiff_plain;h=8b092c0bd6b8a19a7fc3983a839dec5ff7aaf424;p=music-assistant-server.git Bump mypy from 1.10.1 to 1.11.1 (#1545) * Bump mypy from 1.10.1 to 1.11.1 Bumps [mypy](https://github.com/python/mypy) from 1.10.1 to 1.11.1. - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](https://github.com/python/mypy/compare/v1.10.1...v1.11.1) --- updated-dependencies: - dependency-name: mypy dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * lint --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marcel van der Veldt --- diff --git a/music_assistant/common/models/config_entries.py b/music_assistant/common/models/config_entries.py index cd86921c..e1948c07 100644 --- a/music_assistant/common/models/config_entries.py +++ b/music_assistant/common/models/config_entries.py @@ -67,7 +67,7 @@ ConfigEntryTypeMap: dict[ConfigEntryType, type[ConfigValueType]] = { ConfigEntryType.STRING: str, ConfigEntryType.SECURE_STRING: str, ConfigEntryType.INTEGER: int, - ConfigEntryType.INTEGER_TUPLE: tuple[int, int], # type: ignore[dict-item] + ConfigEntryType.INTEGER_TUPLE: tuple[int, int], ConfigEntryType.FLOAT: float, ConfigEntryType.LABEL: str, ConfigEntryType.DIVIDER: str, diff --git a/pyproject.toml b/pyproject.toml index 82e4238e..03dcb1f8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,7 +44,7 @@ server = [ test = [ "codespell==2.3.0", "isort==5.13.2", - "mypy==1.10.1", + "mypy==1.11.1", "pre-commit==3.8.0", "pre-commit-hooks==4.6.0", "pylint==3.2.6",