Skip to content

Commit 9946155

Browse files
committed
Bump other tools.
1 parent 2816462 commit 9946155

File tree

2 files changed

+7
-18
lines changed

2 files changed

+7
-18
lines changed

pyproject.toml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -65,18 +65,8 @@ filename = "docs/conf.py"
6565
[tool.coverage.run]
6666
branch = true
6767

68-
[tool.coverage.report]
69-
exclude_also = [
70-
"if TYPE_CHECKING:",
71-
]
72-
7368
[tool.mypy]
74-
check_untyped_defs = true
75-
76-
[[tool.mypy.overrides]]
77-
# All non-tests functions must be typed.
78-
module = "w3lib.*"
79-
allow_untyped_defs = false
69+
strict = true
8070

8171
[[tool.mypy.overrides]]
8272
# Allow test functions to be untyped

tox.ini

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ envlist = py310, py311, py312, py313, py314, pypy3.11, docs, pylint, typing, pre
88

99
[testenv]
1010
deps =
11-
coverage >= 7.2.0
1211
pytest !=3.1.1, !=3.1.2
13-
pytest-cov
12+
pytest-cov >= 7.0.0
1413
commands =
1514
python -m pytest \
1615
--doctest-modules \
@@ -21,14 +20,14 @@ commands =
2120
basepython = python3
2221
deps =
2322
pytest
24-
mypy==1.17.0
23+
mypy==1.18.2
2524
commands =
26-
mypy --strict {posargs: w3lib tests}
25+
mypy {posargs: w3lib tests}
2726

2827
[testenv:pylint]
2928
deps =
3029
{[testenv]deps}
31-
pylint==3.3.7
30+
pylint==4.0.2
3231
commands =
3332
pylint docs tests w3lib
3433

@@ -46,8 +45,8 @@ skip_install = true
4645
[testenv:twinecheck]
4746
basepython = python3
4847
deps =
49-
twine==6.1.0
50-
build==1.2.2.post1
48+
twine==6.2.0
49+
build==1.3.0
5150
commands =
5251
python -m build --sdist
5352
twine check dist/*

0 commit comments

Comments
 (0)