Skip to content

Commit c1f5801

Browse files
committed
mypy: Add no_incremental option
This option avoids using a cache. It is slower but prevents some issues with `mypy` giving different results on different runs (typically complaining about some `type: ignore[issue]` not being used but when removing it complaining about an `issue` again. Signed-off-by: Leandro Lucarella <[email protected]>
1 parent b31a382 commit c1f5801

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ testpaths = ["tests", "src"]
135135
asyncio_mode = "auto"
136136
required_plugins = ["pytest-asyncio", "pytest-mock"]
137137

138+
[tool.mypy]
139+
no_incremental = true
140+
138141
[[tool.mypy.overrides]]
139142
module = [
140143
"async_solipsism",

0 commit comments

Comments
 (0)