mypy.ini 559 B

123456789101112131415161718
  1. # Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  2. # Exceptions. See /LICENSE for license information.
  3. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. [mypy]
  5. disallow_untyped_decorators = true
  6. warn_unused_configs = true
  7. disallow_subclassing_any = true
  8. disallow_untyped_calls = true
  9. disallow_untyped_defs = true
  10. disallow_incomplete_defs = true
  11. check_untyped_defs = true
  12. no_implicit_optional = true
  13. warn_redundant_casts = true
  14. warn_unused_ignores = true
  15. warn_return_any = true
  16. ignore_missing_imports = false
  17. pretty = true