pyproject.toml 538 B

1234567891011121314151617181920212223242526
  1. [project]
  2. requires-python = ">=3.10"
  3. [tool.ruff]
  4. exclude = [
  5. "__init__.py",
  6. "tests/",
  7. ]
  8. line-length = 120
  9. [tool.ruff.lint]
  10. ignore-init-module-imports = true
  11. select = [
  12. "F", # pyflakes rules
  13. "I001", # unsorted-imports
  14. "I002", # missing-required-import
  15. "UP", # pyupgrade rules
  16. ]
  17. ignore = [
  18. "F403", # undefined-local-with-import-star
  19. "F405", # undefined-local-with-import-star-usage
  20. "F821", # undefined-name
  21. "F841", # unused-variable
  22. "UP007", # non-pep604-annotation
  23. "UP032", # f-string
  24. ]