Skip to content

Commit 797ac54

Browse files
committed
ci(mypy) Add mypy config
1 parent 41a2654 commit 797ac54

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

pyproject.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,16 @@ lint = [
126126
"types-colorama",
127127
]
128128

129+
[tool.mypy]
130+
python_version = 3.9
131+
warn_unused_configs = true
132+
133+
[[tool.mypy.overrides]]
134+
module = [
135+
"kaptan.*",
136+
]
137+
ignore_missing_imports = true
138+
129139
[tool.coverage.run]
130140
branch = true
131141
parallel = true

0 commit comments

Comments
 (0)