Skip to content

Commit 6973399

Browse files
committed
Enable report-deprecated-as-error
1 parent e532aca commit 6973399

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

mypy.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ follow_imports = normal
1111
local_partial_types = true
1212
strict_equality = true
1313
no_implicit_optional = true
14+
report_deprecated_as_error = true
1415
warn_incomplete_stub = true
1516
warn_redundant_casts = true
1617
warn_unused_configs = true

script/hassfest/mypy_config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
"local_partial_types": "true",
4444
"strict_equality": "true",
4545
"no_implicit_optional": "true",
46+
"report_deprecated_as_error": "true",
4647
"warn_incomplete_stub": "true",
4748
"warn_redundant_casts": "true",
4849
"warn_unused_configs": "true",

0 commit comments

Comments
 (0)