Set those parameters as default ones to enable stricter mypy checks:
# Ensure full coverage disallow_untyped_calls = True disallow_untyped_defs = True disallow_incomplete_defs = True disallow_untyped_decorators = True # Restrict dynamic typing (a little) disallow_any_generics = True # e.g. `x: List[Any]` or x: List` disallow_subclassing_any = True warn_return_any = True # from functions not declared to return Any # Ensure we know what we do warn_redundant_casts = True warn_unused_ignores = True warn_unused_configs = True # Imports managment ignore_missing_imports = True follow_imports = True
- causes
-
NXDRIVE-2044 Fix misspelled Qt.CheckSate attribute
- Resolved
-
NXDRIVE-2045 [macOS] Fix a TypeError in DarwinIntegration._get_favorite_list()
- Resolved
- is related to
-
NXDRIVE-2087 Types annotations using Mypy
- Resolved
-
NXDRIVE-2007 Fix errors reported by mypy when disallow_any_generics is True
- Open