pyproject.toml 774 B

1234567891011121314151617181920212223242526272829303132333435
  1. [build-system]
  2. requires = ["setuptools>=42", "wheel", "cmake>=3.18", "ninja"]
  3. build-backend = "setuptools.build_meta"
  4. [tool.check-manifest]
  5. ignore = [
  6. "tests/**",
  7. "docs/**",
  8. "tools/**",
  9. "include/**",
  10. ".*",
  11. "pybind11/include/**",
  12. "pybind11/share/**",
  13. "CMakeLists.txt",
  14. "noxfile.py",
  15. ]
  16. [tool.mypy]
  17. files = "pybind11"
  18. python_version = "2.7"
  19. warn_unused_configs = true
  20. disallow_any_generics = true
  21. disallow_subclassing_any = true
  22. disallow_untyped_calls = true
  23. disallow_untyped_defs = true
  24. disallow_incomplete_defs = true
  25. check_untyped_defs = true
  26. disallow_untyped_decorators = true
  27. no_implicit_optional = true
  28. warn_redundant_casts = true
  29. warn_unused_ignores = true
  30. warn_return_any = true
  31. no_implicit_reexport = true
  32. strict_equality = true