Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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$
1 change: 1 addition & 0 deletions changes/38.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update dev dependencies
8 changes: 4 additions & 4 deletions didl_lite/didl_lite.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ dynamic = ["version"]

[project.optional-dependencies]
test = [
"pytest~=9.0.2",
"pytest==9.0.2",
]

[tool.setuptools]
Expand Down
18 changes: 9 additions & 9 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,51 +14,51 @@ 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

[testenv:pylint]
basepython = python3
ignore_errors = True
deps =
pylint ~= 3.0.3
pylint == 4.0.4
pytest == 9.0.2
commands = pylint didl_lite tests

[testenv:codespell]
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
Loading