Skip to content

Commit a6abbe5

Browse files
committed
Update mypy settings
1 parent 649a162 commit a6abbe5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ lint = [
4949
"ruff>=0.5",
5050
"mypy>=1.10",
5151
"types-docutils>=0.21",
52+
"lxml-stubs>=0.4",
5253
]
5354
test = [
5455
"pytest>=8.0",
5556
"pytest-deadfixtures>=2.2",
5657
"coverage>=6.5",
5758
"lxml>=4.9",
58-
"lxml-stubs>=0.4",
5959
"setuptools>=70.0", # for Cython compilation
6060
"typing_extensions>=4.9", # for typing_extensions.Unpack
6161
]
@@ -95,6 +95,10 @@ known_first_party = [ "sphinxarg", "test" ]
9595
line_length = 160
9696
multi_line_output = 3
9797

98+
[tool.mypy]
99+
files = ["sphinxarg", "test"]
100+
python_version = "3.10"
101+
98102
[[tool.mypy.overrides]]
99103
module = [
100104
"commonmark.*",

0 commit comments

Comments
 (0)