From 4c2ec5debaf3f7cb61ad289832cc6fe459b91ccf Mon Sep 17 00:00:00 2001 From: correctmost <134317971+correctmost@users.noreply.github.com> Date: Fri, 21 Feb 2025 22:24:52 -0500 Subject: [PATCH] Enable --strict-bytes checks in mypy (#3189) Strict-bytes checks will be enabled by default in mypy 2.0, so this commit will help prevent violations from being introduced into the codebase. --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 370836ec..571add58 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -78,6 +78,7 @@ disallow_untyped_decorators = true disallow_untyped_defs = true extra_checks = true strict = false +strict_bytes = true strict_equality = true warn_redundant_casts = true warn_return_any = true