Skip to content

Commit 5c684a9

Browse files
committed
Disable mypy's misc errors completely
This fixes "Decorated property not supported" errors for the time being without hopefully many downsides. The impact is hard to measure as the list of misc errors is not to be found. This should be revisited if/when python/mypy#1362 gets solved.
1 parent 7b645f7 commit 5c684a9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,9 @@ exclude_lines = [
105105
"def __repr__"
106106
]
107107

108-
[tool.check-manifest]
109-
ignore = ["devtools/*"]
108+
[tool.mypy]
109+
# disables "Decorated property not supported", see https://github.com/python/mypy/issues/1362
110+
disable_error_code = "misc"
110111

111112
[build-system]
112113
requires = ["poetry-core"]

0 commit comments

Comments
 (0)