Skip to content

Commit

Permalink
Enable strict_bytes by default
Browse files Browse the repository at this point in the history
  • Loading branch information
hauntsaninja committed Dec 30, 2024
1 parent ac6151a commit 0e4649c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mypy/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def __init__(self) -> None:
self.strict_equality = False

# Disable treating bytearray and memoryview as subtypes of bytes
self.strict_bytes = False
self.strict_bytes = True

# Deprecated, use extra_checks instead.
self.strict_concatenate = False
Expand Down

0 comments on commit 0e4649c

Please sign in to comment.