Skip to content

Commit 52672de

Browse files
authored
chore: mypyの設定をpyproject.tomlに移動 (#1604)
1 parent 0933459 commit 52672de

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

mypy.ini

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

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ unfixable = [
1515
known-first-party = ["voicevox_engine"]
1616
known-third-party = ["numpy"]
1717

18+
[tool.mypy]
19+
strict = true
20+
plugins = "numpy.typing.mypy_plugin,pydantic.mypy"
21+
python_version = "3.11"
22+
ignore_missing_imports = true
23+
warn_unreachable = true
24+
1825
[tool.typos.default.extend-words]
1926
datas = "datas" # PyInstaller's argument
2027

0 commit comments

Comments
 (0)