Advertisement
Guest User

.mypy.ini

a guest
May 17th, 2021
792
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [mypy]
  2. # Import discovery
  3. # ignore_missing_imports = True
  4.  
  5. # Disallow dynamic typing :: allow dynamic typing for now
  6. disallow_any_unimported = True
  7. disallow_any_generics = True
  8. disallow_subclassing_any = True
  9.  
  10. # Untyped definitions and calls
  11. disallow_untyped_calls = True
  12. disallow_untyped_defs = True
  13. disallow_incomplete_defs = True
  14. disallow_untyped_decorators = True
  15.  
  16. # None and Optional handling
  17. no_implicit_optional = True
  18. strict_optional = True
  19.  
  20. # Configuring warnings
  21. warn_redundant_casts = True
  22. warn_unused_ignores = True
  23. warn_no_return = True
  24. warn_return_any = True
  25. warn_unreachable = True
  26.  
  27. # Miscellaneous strictness flags
  28. strict_equality = True
  29. implicit_reexport = False
  30.  
  31. # Configuring error messages
  32. show_error_context = True
  33. show_column_numbers = True
  34. show_error_codes = True
  35. pretty = True
  36.  
  37. # Miscellaneous
  38. warn_unused_configs = True
  39.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement