# https://mypy.readthedocs.io/en/stable/config_file.html [mypy] # Import discovery ignore_missing_imports = true follow_imports = normal # Platform configuration # Disallow dynamic typing # Untyped definitions and calls check_untyped_defs = true # None and Optional handling no_implicit_optional = true strict_optional = true # Configuring warnings show_error_context = true show_column_numbers = true warn_unused_ignores = true # Suppressing errors # Miscellaneous strictness flags # Configuring error messages show_error_codes = true pretty = true color_output = true error_summary = true show_absolute_path = false # Incremental mode incremental = true cache_dir = .mypy_cache sqlite_cache = false cache_fine_grained = false skip_version_check = false skip_cache_mtime_checks = false # Advanced options # Report generation html_report = mypy-report # Miscellaneous