this is an intial test install. The folder and file names will differ and some things will move around. 1.0.0 will have the first usable setup
49 lines
1.2 KiB
TOML
49 lines
1.2 KiB
TOML
# MARK: Project info
|
|
[project]
|
|
name = "corelibs-python"
|
|
version = "0.1.0"
|
|
description = "Collection of utils for Python scripts"
|
|
readme = "ReadMe.md"
|
|
requires-python = ">=3.13"
|
|
dependencies = [
|
|
"jmespath>=1.0.1",
|
|
"psutil>=7.0.0",
|
|
]
|
|
# set this to disable publish to pypi (pip)
|
|
# classifiers = ["Private :: Do Not Upload"]
|
|
|
|
# MARK: build target
|
|
[[tool.uv.index]]
|
|
name = "egra-gitea"
|
|
url = "https://git.egplusww.jp/org/PyPI/dashboard"
|
|
publish-url = "https://git.egplusww.jp/api/packages/PyPI/pypi"
|
|
explicit = true
|
|
|
|
# MARK: build system
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
# MARK: Python tools
|
|
[tool.pyright]
|
|
typeCheckingMode = "strict"
|
|
reportMissingImports = "information"
|
|
reportMissingTypeStubs = "information"
|
|
reportUnknownMemberType = "information"
|
|
[tool.ruff]
|
|
line-length = 120
|
|
[tool.black]
|
|
# set 10 short for better formatting
|
|
line-length = 110
|
|
# to avoid " ... " " ... " string sets
|
|
# experimental-string-processing = true
|
|
preview = true
|
|
enable-unstable-feature = ["string_processing"]
|
|
[tool.pylint.format]
|
|
max-line-length = 120
|
|
[tool.pylint.miscellaneous]
|
|
notes = ["FIXME", "TODO"]
|
|
notes-rgx = '(FIXME|TODO)(\((TTD-|#)\[0-9]+\))'
|
|
[tool.flake8]
|
|
max-line-length = 120
|