pyproject.toml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. [build-system]
  2. requires = ["flit_core >=2,<4"]
  3. build-backend = "flit_core.buildapi"
  4. [tool.flit.metadata]
  5. module = "sccd"
  6. requires-python = ">=3.7"
  7. classifiers = [
  8. "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
  9. "Programming Language :: Python :: 3",
  10. "Development Status :: 2 - Pre-Alpha",
  11. "Intended Audience :: Developers",
  12. "Natural Language :: English",
  13. ]
  14. description-file = "README.rst"
  15. [tool.flit.metadata.requires-extra]
  16. docs = ["sphinx"]
  17. [tool.isort]
  18. default_section = "THIRDPARTY"
  19. force_grid_wrap = 0
  20. include_trailing_comma = true
  21. known_first_party = ["sccd", "tests"]
  22. line_length = 120
  23. multi_line_output = 3
  24. skip = ["venv/", "data/", "settings/", "log/", "tools/", ".git/", ".idea/"]
  25. use_parentheses = true
  26. [tool.black]
  27. line-length = 120
  28. include = '\.pyi?$'
  29. exclude = '''
  30. /(
  31. \.git
  32. | \venv
  33. | \.idea
  34. | \.tox
  35. | \tools
  36. )/
  37. '''
  38. [tool.pylint."MESSAGES CONTROL"]
  39. max-line-length = 120
  40. [tool.pylint."LOGGING"]
  41. logging-format-style = "new"
  42. [tool.pylint."MASTER"]
  43. disable = [
  44. "logging-fstring-interpolation",
  45. "fixme",
  46. ]