Skip to content

Commit 14f845b

Browse files
committed
🔧: update mypy config
Signed-off-by: nstarman <[email protected]>
1 parent 38d6553 commit 14f845b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎pyproject.toml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,13 @@ test = [
6464
[tool.mypy]
6565
files = ["src", "tests"]
6666
python_version = "3.10"
67-
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
6867

6968
strict = true
7069
disallow_incomplete_defs = true
7170
disallow_untyped_defs = true
71+
disable_bytearray_promotion = true # Note(2024-12-05): these are private flags
72+
disable_memoryview_promotion = true # Note(2024-12-05): these are private flags
73+
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
7274

7375
warn_return_any = true
7476
warn_unreachable = true

0 commit comments

Comments
 (0)