Skip to content

Commit b48ce62

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 11cd210 commit b48ce62

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
@@ -116,7 +116,6 @@ source = ["fastenv", "tests"]
116116

117117
[tool.mypy]
118118
files = ["**/*.py"]
119-
show_error_codes = true
120119
strict = true
121120

122121
[tool.pytest.ini_options]

0 commit comments

Comments
 (0)