Skip to content

Commit c7effaa

Browse files
committed
Update dev dependencies
1 parent cdcef21 commit c7effaa

4 files changed

Lines changed: 17 additions & 18 deletions

File tree

.pre-commit-config.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ repos:
2626
hooks:
2727
- id: flake8
2828
additional_dependencies:
29-
- flake8-docstrings==1.6.0
30-
- pydocstyle==6.1.1
29+
- flake8-docstrings==1.7.0
30+
- pydocstyle==6.3.0
3131
files: ^(didl_lite|tests)/.+\.py$
3232
- repo: https://github.com/PyCQA/isort
3333
rev: '7.0.0'
@@ -41,6 +41,5 @@ repos:
4141
- id: mypy
4242
args: [--ignore-missing-imports]
4343
additional_dependencies:
44-
- aiohttp>=3.7.4
45-
- pytest~=9.0.2
44+
- pytest==9.0.2
4645
files: ^(didl_lite|tests)/.+\.py$

didl_lite/didl_lite.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def __init__(
8686
**properties: Any,
8787
) -> None:
8888
"""Initialize."""
89-
# pylint: disable=invalid-name,redefined-builtin,too-many-arguments
89+
# pylint: disable=invalid-name,redefined-builtin,too-many-arguments,too-many-positional-arguments
9090
properties["id"] = id
9191
properties["parent_id"] = parent_id
9292
properties["class"] = self.upnp_class
@@ -627,7 +627,7 @@ def __init__(
627627
**properties: Any,
628628
) -> None:
629629
"""Initialize."""
630-
# pylint: disable=redefined-builtin,too-many-arguments
630+
# pylint: disable=redefined-builtin,too-many-arguments,too-many-positional-arguments
631631
super().__init__(id, parent_id, descriptors, xml_el, strict, **properties)
632632
self.extend(children)
633633

@@ -929,7 +929,7 @@ def __init__(
929929
xml_el: Optional[ET.Element] = None,
930930
) -> None:
931931
"""Initialize."""
932-
# pylint: disable=too-many-arguments
932+
# pylint: disable=too-many-arguments,too-many-positional-arguments
933933
self.uri = uri
934934
self.protocol_info = protocol_info
935935
self.import_uri = import_uri
@@ -1007,7 +1007,7 @@ def __init__(
10071007
xml_el: Optional[ET.Element] = None,
10081008
) -> None:
10091009
"""Initialize."""
1010-
# pylint: disable=invalid-name,redefined-builtin,too-many-arguments
1010+
# pylint: disable=invalid-name,redefined-builtin,too-many-arguments,too-many-positional-arguments
10111011
self.id = id
10121012
self.name_space = name_space
10131013
self.type = type

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ dynamic = ["version"]
3434

3535
[project.optional-dependencies]
3636
test = [
37-
"pytest~=9.0.2",
37+
"pytest==9.0.2",
3838
]
3939

4040
[tool.setuptools]

tox.ini

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,51 +14,51 @@ commands = py.test --cov=didl_lite --cov-report=term --cov-report=xml:coverage-{
1414
ignore_errors = True
1515
deps =
1616
pytest == 9.0.2
17-
pytest-cov ~= 4.1.0
18-
coverage ~= 7.3.3
17+
pytest-cov == 7.0.0
18+
coverage == 7.13.1
1919

2020
[testenv:flake8]
2121
basepython = python3
2222
ignore_errors = True
2323
deps =
24-
flake8 ~= 6.1.0
24+
flake8 == 7.3.0
2525
flake8-docstrings == 1.7.0
26-
flake8-noqa == 1.3.2
26+
flake8-noqa == 1.4.0
2727
pydocstyle == 6.3.0
2828
commands = flake8 didl_lite tests
2929

3030
[testenv:pylint]
3131
basepython = python3
3232
ignore_errors = True
3333
deps =
34-
pylint ~= 3.0.3
34+
pylint == 4.0.4
3535
pytest == 9.0.2
3636
commands = pylint didl_lite tests
3737

3838
[testenv:codespell]
3939
basepython = python3
4040
ignore_errors = True
4141
deps =
42-
codespell ~= 2.2.6
42+
codespell == 2.4.1
4343
commands = codespell didl_lite tests
4444

4545
[testenv:mypy]
4646
basepython = python3
4747
ignore_errors = True
4848
deps =
49-
mypy ~= 1.7.1
49+
mypy == 1.19.1
5050
pytest == 9.0.2
5151
commands = mypy --ignore-missing-imports didl_lite tests
5252

5353
[testenv:black]
5454
basepython = python3
5555
deps =
56-
black >= 23.12.0
56+
black == 25.12.0
5757
commands = black --diff didl_lite tests
5858

5959
[testenv:isort]
6060
basepython = python3
6161
ignore_errors = True
6262
deps =
63-
isort == 5.13.2
63+
isort == 7.0.0
6464
commands = isort --check-only --diff --profile=black didl_lite tests

0 commit comments

Comments
 (0)