Skip to content

Commit

Permalink
Enable local_partial_types [mypy]
Browse files Browse the repository at this point in the history
  • Loading branch information
cdce8p committed Feb 7, 2023
1 parent 4fbb14e commit 2aebd51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions mypy.ini
Expand Up @@ -7,6 +7,7 @@ python_version = 3.10
show_error_codes = true
follow_imports = silent
ignore_missing_imports = true
local_partial_types = true
strict_equality = true
no_implicit_optional = true
warn_incomplete_stub = true
Expand Down
1 change: 1 addition & 0 deletions script/hassfest/mypy_config.py
Expand Up @@ -41,6 +41,7 @@
"follow_imports": "silent",
# Enable some checks globally.
"ignore_missing_imports": "true",
"local_partial_types": "true",
"strict_equality": "true",
"no_implicit_optional": "true",
"warn_incomplete_stub": "true",
Expand Down

0 comments on commit 2aebd51

Please sign in to comment.