Skip to content

Commit cdff78f

Browse files
committed
Add mypy to test requirements
1 parent 34e290e commit cdff78f

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

pyproject.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,12 @@ requires = [
44
"setuptools-scm[toml]",
55
]
66
build-backend = "setuptools.build_meta"
7+
8+
[tool.mypy]
9+
warn_unreachable = true
10+
warn_unused_ignores = true
11+
warn_redundant_casts = true
12+
enable_error_code = [
13+
"ignore-without-code",
14+
"truthy-bool",
15+
]

requirements/test.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ mock
22
pylint
33
coverage
44
pytest-pep8
5+
mypy

0 commit comments

Comments
 (0)