Skip to content

Commit

Permalink
Enable --strict-bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
cdce8p committed Dec 10, 2024
1 parent e007236 commit c3f497e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ follow_imports = normal
show_traceback = true
local_partial_types = true
strict_equality = true
strict_bytes = true
no_implicit_optional = true
warn_incomplete_stub = true
warn_redundant_casts = true
Expand Down
1 change: 1 addition & 0 deletions script/hassfest/mypy_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
# Enable some checks globally.
"local_partial_types": "true",
"strict_equality": "true",
"strict_bytes": "true",
"no_implicit_optional": "true",
"warn_incomplete_stub": "true",
"warn_redundant_casts": "true",
Expand Down

0 comments on commit c3f497e

Please sign in to comment.