Skip to content

Commit 85a8e5e

Browse files
committed
Remove deprecated show_error_codes mypy setting
Mypy now shows error codes by default. It's unclear when this changed. It doesn't seem to be mentioned in the changelog, and both the original `show_error_codes` setting and the deprecation seem to be undocumented. This commit will remove `show_error_codes`/`--show-error-codes`. The inverse `hide_error_codes`/`--hide-error-codes` is still supported. https://github.com/python/mypy/blob/master/CHANGELOG.md python/mypy#13542 python/mypy#17083 https://mypy.readthedocs.io/en/stable/error_codes.html SchemaStore/schemastore#3422 SchemaStore/schemastore#3467 SchemaStore/schemastore#3472 https://www.schemastore.org/partial-mypy.json
1 parent 487e646 commit 85a8e5e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ path = "inboard/__init__.py"
152152
[tool.mypy]
153153
files = ["**/*.py"]
154154
plugins = "pydantic.mypy"
155-
show_error_codes = true
156155
strict = true
157156

158157
[tool.pytest.ini_options]

0 commit comments

Comments
 (0)