pyproject.toml 552 B

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