57 lines
1.0 KiB
TOML
57 lines
1.0 KiB
TOML
[project]
|
|
name = "dragonglass"
|
|
version = "0.1.0"
|
|
description = "Add your description here"
|
|
authors = [
|
|
{ name = "Amy Gale Ruth Bowersox", email = "amy@erbosoft.com" }
|
|
]
|
|
dependencies = [
|
|
"jinja2~=3.1.4",
|
|
"markdown~=3.6",
|
|
"markupsafe~=2.1.5",
|
|
"pyyaml~=6.0.1",
|
|
"pygments~=2.18.0",
|
|
]
|
|
readme = "README.md"
|
|
requires-python = ">= 3.12"
|
|
|
|
[project.scripts]
|
|
'dragonglass' = "dragonglass:main"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.rye]
|
|
managed = true
|
|
dev-dependencies = [
|
|
"pyright~=1.1.373",
|
|
]
|
|
|
|
[tool.hatch.metadata]
|
|
allow-direct-references = true
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/dragonglass"]
|
|
|
|
[tool.ruff]
|
|
line-length = 120
|
|
|
|
[tool.ruff.lint]
|
|
select = [
|
|
"A", # shadowing built-ins
|
|
"E", # style and whitespace
|
|
"F", # important pyflakes lints
|
|
"I", # import sorting
|
|
"N", # naming
|
|
"T100" # breakpoints
|
|
]
|
|
|
|
[tool.ruff.lint.isort]
|
|
known-first-party = ["dragonglass"]
|
|
|
|
[tool.pyright]
|
|
venvPath = "."
|
|
venv = ".venv"
|
|
strict = ["**/*.py"]
|