pyproject.toml 982 B

12345678910111213141516171819202122232425262728293031323334353637
  1. [build-system]
  2. requires = ["packaging~=23.1", "setuptools~=67.8", "wheel~=0.40"]
  3. build-backend = "setuptools.build_meta"
  4. [tool.flake8]
  5. extend_ignore = ["E", "Y"] # Black
  6. per-file-ignores = [
  7. "__init__.py:F401",
  8. ]
  9. [tool.isort]
  10. profile = "black"
  11. [tool.mypy]
  12. disable_error_code = "type-abstract,typeddict-unknown-key"
  13. disallow_untyped_calls = false
  14. disallow_untyped_decorators = false
  15. ignore_missing_imports = true
  16. python_version = 3.8
  17. show_error_codes = true
  18. show_error_context = true
  19. strict = true
  20. warn_unused_configs = false
  21. warn_unused_ignores = false
  22. [tool.pytest.ini_options]
  23. minversion = "7.1"
  24. testpaths = ["tests"]
  25. filterwarnings = [
  26. "ignore:Deprecated call to `pkg_resources",
  27. "ignore:Please use `line_search_wolfe",
  28. "ignore:Please use `spmatrix",
  29. "ignore:TypedStorage is deprecated",
  30. "ignore:distutils Version classes are deprecated",
  31. "ignore:pkg_resources is deprecated",
  32. "ignore:torch.nn.utils.weight_norm is deprecated in favor of",
  33. ]