pyproject.toml 863 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. [tool.mypy]
  2. disallow_any_generics = true
  3. explicit_package_bases = true
  4. ignore_missing_imports = true
  5. namespace_packages = true
  6. no_implicit_optional = true
  7. pretty = true
  8. scripts_are_modules = true
  9. show_column_numbers = true
  10. warn_redundant_casts = true
  11. warn_return_any = true
  12. warn_unreachable = true
  13. [tool.ruff]
  14. extend-include = ["SConstruct"]
  15. line-length = 120
  16. target-version = "py37"
  17. [tool.ruff.lint]
  18. extend-select = [
  19. "I", # isort
  20. ]
  21. [tool.ruff.lint.per-file-ignores]
  22. "SConstruct" = [
  23. "F821", # Undefined name
  24. ]
  25. [tool.codespell]
  26. enable-colors = ""
  27. write-changes = ""
  28. check-hidden = ""
  29. quiet-level = 3
  30. builtin = "clear,rare,en-GB_to_en-US"
  31. ignore-words-list = """\
  32. breaked,
  33. cancelled,
  34. checkin,
  35. curvelinear,
  36. doubleclick,
  37. expct,
  38. findn,
  39. gird,
  40. hel,
  41. inout,
  42. labelin,
  43. lod,
  44. mis,
  45. nd,
  46. numer,
  47. ot,
  48. outin,
  49. requestor,
  50. te,
  51. textin,
  52. thirdparty,
  53. vai
  54. """