fix: minor touchups based on stricter mypy settings (#1060)

* fix: minor touchups based on stricter mypy settings

* refactor: address review comments
This commit is contained in:
Henry Schreiner
2022-04-01 22:00:07 -04:00
committed by GitHub
parent dc10f1a654
commit 7ef593c2ad
4 changed files with 13 additions and 11 deletions
+5
View File
@@ -38,6 +38,8 @@ files = [
"noxfile.py",
]
warn_unused_configs = true
show_error_codes = true
warn_redundant_casts = true
no_implicit_reexport = true
strict_equality = true
@@ -49,6 +51,9 @@ disallow_any_generics = true
warn_return_any = true
no_implicit_optional = true
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
warn_unreachable = true
[[tool.mypy.overrides]]
module = "cibuildwheel.*"
disallow_untyped_defs = true