Skip to content

Commit

Permalink
Disable mypy's misc errors completely
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rytilahti committed Aug 13, 2022
1 parent 7b645f7 commit 5c684a9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,9 @@ exclude_lines = [
"def __repr__"
]

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

[build-system]
requires = ["poetry-core"]
Expand Down

0 comments on commit 5c684a9

Please sign in to comment.