Skip to content

Commit f80de31

Browse files
authored
Move mypy to pyproject (#80)
* Move mypy to pyproject * Set mypy's python 3.9
1 parent 3c2c49b commit f80de31

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

mypy.ini

Lines changed: 0 additions & 8 deletions
This file was deleted.

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ testpaths = [
6060
[tool.isort]
6161
profile = "black"
6262

63+
[tool.mypy]
64+
python_version = "3.9"
65+
# Warn when returning Any from function with non-Any return
66+
warn_return_any = true
6367

6468
[tool.coverage]
6569
# https://github.com/nedbat/coveragepy

0 commit comments

Comments
 (0)