add --strict-bytes to --strict by wyattscarpenter · Pull Request #19049 · python/mypy

@wyattscarpenter

This is a check that ensures static correctness, so it is useful to have here. Unlike making this the default behavior eventually in 2.0 (which we are also planning to do), it can be added to --strict immediately due to --strict having looser backwards-compatibility requirements (or so I interpret its documentation). This commit also includes tests.

@wyattscarpenter marked this pull request as draft

May 8, 2025 00:06

@wyattscarpenter

@wyattscarpenter

sterliakov