Skip to content

Commit 65f7a41

Browse files
CI: Fix dependency errors running pytype
Signed-off-by: Bernhard Kaindl <[email protected]>
1 parent 4a6dd96 commit 65f7a41

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,12 @@ test = [
5555
"typing_extensions"
5656
]
5757
coverage = [
58+
"python-libs[test]",
5859
"coverage[toml]",
5960
"diff_cover"
6061
]
6162
mypy = [
63+
"python-libs[test]",
6264
"lxml",
6365
"mypy",
6466
"mypy-extensions",
@@ -68,6 +70,7 @@ mypy = [
6870
"types-toml",
6971
]
7072
pytype = [
73+
"python-libs[test]",
7174
"pandas",
7275
"pytype",
7376
]

tox.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,9 @@ commands =
210210
pyright
211211

212212
[pytype]
213-
deps = pytype
214-
pandas
213+
extras = pytype
214+
description = Run pytype (note: It fails to find pytest_httpserver on 3.12!)
215+
basepython = py311
215216
commands =
216217
# Needs python >= 3.10: Needed to parse the newer syntax for "Type2 | Type2"
217218
pytype --version

0 commit comments

Comments
 (0)