pyproject.toml 743 B

1234567891011121314151617181920212223242526272829303132
  1. [tool.mypy]
  2. files = 'kitty,kittens,glfw,*.py,docs/conf.py,gen'
  3. no_implicit_optional = true
  4. sqlite_cache = true
  5. cache_fine_grained = true
  6. warn_redundant_casts = true
  7. warn_unused_ignores = true
  8. warn_return_any = true
  9. warn_unreachable = true
  10. warn_unused_configs = true
  11. check_untyped_defs = true
  12. disallow_untyped_defs = true
  13. disallow_untyped_decorators = true
  14. disallow_untyped_calls = true
  15. disallow_incomplete_defs = true
  16. strict = true
  17. no_implicit_reexport = true
  18. [tool.ruff]
  19. line-length = 160
  20. target-version = 'py38'
  21. select = ['E', 'F', 'I', 'RUF100']
  22. [tool.ruff.per-file-ignores]
  23. "kitty/options/types.py" = ["E501"]
  24. "kitty/options/parse.py" = ["E501"]
  25. [tool.black]
  26. line-length = 160
  27. target-version = ['py38']
  28. skip-string-normalization = true