disko2: Fix all mypy type checking errors

Belongs to d382a3cccf, but I authored that
on another machine.

Making sure vscode uses mypy from the environment is very important now,
because some of these errors get triggered in different ways depending
on the version.
This commit is contained in:
Felix Uhl committed 2024-11-17 19:39:07 +01:00
1 parent a0e8f7f587
commit ae7891e21f
22 files changed
+190 -145

No files matched your search

+1 -1
View File
@@ -42,9 +42,9 @@ warn_return_any = true
warn_unreachable = true
# Miscellaneous strictness flags
no_implicit_reexport = true
strict_concatenate = true
strict_equality = true
extra_checks = true
enable_error_code = "ignore-without-code"
# Error message control
show_error_context = true
show_error_code_links = true