From c7effaa8fb8bcf135c7eaaaa25e39c8847914fac Mon Sep 17 00:00:00 2001 From: Steven Looman Date: Wed, 31 Dec 2025 13:44:05 +0100 Subject: [PATCH 1/2] Update dev dependencies --- .pre-commit-config.yaml | 7 +++---- didl_lite/didl_lite.py | 8 ++++---- pyproject.toml | 2 +- tox.ini | 18 +++++++++--------- 4 files changed, 17 insertions(+), 18 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index eef069f..6868762 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,8 +26,8 @@ repos: hooks: - id: flake8 additional_dependencies: - - flake8-docstrings==1.6.0 - - pydocstyle==6.1.1 + - flake8-docstrings==1.7.0 + - pydocstyle==6.3.0 files: ^(didl_lite|tests)/.+\.py$ - repo: https://github.com/PyCQA/isort rev: '7.0.0' @@ -41,6 +41,5 @@ repos: - id: mypy args: [--ignore-missing-imports] additional_dependencies: - - aiohttp>=3.7.4 - - pytest~=9.0.2 + - pytest==9.0.2 files: ^(didl_lite|tests)/.+\.py$ diff --git a/didl_lite/didl_lite.py b/didl_lite/didl_lite.py index a890e44..13c0d4e 100644 --- a/didl_lite/didl_lite.py +++ b/didl_lite/didl_lite.py @@ -86,7 +86,7 @@ def __init__( **properties: Any, ) -> None: """Initialize.""" - # pylint: disable=invalid-name,redefined-builtin,too-many-arguments + # pylint: disable=invalid-name,redefined-builtin,too-many-arguments,too-many-positional-arguments properties["id"] = id properties["parent_id"] = parent_id properties["class"] = self.upnp_class @@ -627,7 +627,7 @@ def __init__( **properties: Any, ) -> None: """Initialize.""" - # pylint: disable=redefined-builtin,too-many-arguments + # pylint: disable=redefined-builtin,too-many-arguments,too-many-positional-arguments super().__init__(id, parent_id, descriptors, xml_el, strict, **properties) self.extend(children) @@ -929,7 +929,7 @@ def __init__( xml_el: Optional[ET.Element] = None, ) -> None: """Initialize.""" - # pylint: disable=too-many-arguments + # pylint: disable=too-many-arguments,too-many-positional-arguments self.uri = uri self.protocol_info = protocol_info self.import_uri = import_uri @@ -1007,7 +1007,7 @@ def __init__( xml_el: Optional[ET.Element] = None, ) -> None: """Initialize.""" - # pylint: disable=invalid-name,redefined-builtin,too-many-arguments + # pylint: disable=invalid-name,redefined-builtin,too-many-arguments,too-many-positional-arguments self.id = id self.name_space = name_space self.type = type diff --git a/pyproject.toml b/pyproject.toml index b4f8c74..77e6d14 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,7 @@ dynamic = ["version"] [project.optional-dependencies] test = [ - "pytest~=9.0.2", + "pytest==9.0.2", ] [tool.setuptools] diff --git a/tox.ini b/tox.ini index 11c3523..ccd2783 100644 --- a/tox.ini +++ b/tox.ini @@ -14,16 +14,16 @@ commands = py.test --cov=didl_lite --cov-report=term --cov-report=xml:coverage-{ ignore_errors = True deps = pytest == 9.0.2 - pytest-cov ~= 4.1.0 - coverage ~= 7.3.3 + pytest-cov == 7.0.0 + coverage == 7.13.1 [testenv:flake8] basepython = python3 ignore_errors = True deps = - flake8 ~= 6.1.0 + flake8 == 7.3.0 flake8-docstrings == 1.7.0 - flake8-noqa == 1.3.2 + flake8-noqa == 1.4.0 pydocstyle == 6.3.0 commands = flake8 didl_lite tests @@ -31,7 +31,7 @@ commands = flake8 didl_lite tests basepython = python3 ignore_errors = True deps = - pylint ~= 3.0.3 + pylint == 4.0.4 pytest == 9.0.2 commands = pylint didl_lite tests @@ -39,26 +39,26 @@ commands = pylint didl_lite tests basepython = python3 ignore_errors = True deps = - codespell ~= 2.2.6 + codespell == 2.4.1 commands = codespell didl_lite tests [testenv:mypy] basepython = python3 ignore_errors = True deps = - mypy ~= 1.7.1 + mypy == 1.19.1 pytest == 9.0.2 commands = mypy --ignore-missing-imports didl_lite tests [testenv:black] basepython = python3 deps = - black >= 23.12.0 + black == 25.12.0 commands = black --diff didl_lite tests [testenv:isort] basepython = python3 ignore_errors = True deps = - isort == 5.13.2 + isort == 7.0.0 commands = isort --check-only --diff --profile=black didl_lite tests From f6e1ed90e3c6e1903a482cfb35c826d7e80d2c8b Mon Sep 17 00:00:00 2001 From: Steven Looman Date: Wed, 31 Dec 2025 13:44:59 +0100 Subject: [PATCH 2/2] Add change file --- changes/38.misc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changes/38.misc diff --git a/changes/38.misc b/changes/38.misc new file mode 100644 index 0000000..b02f0bb --- /dev/null +++ b/changes/38.misc @@ -0,0 +1 @@ +Update dev dependencies