61 lines
1.1 KiB
TOML
61 lines
1.1 KiB
TOML
[project]
|
|
name = "daglib"
|
|
version = "0.1.0"
|
|
description = "Add your description here"
|
|
readme = "README.md"
|
|
authors = [
|
|
{ name = "John Lancaster", email = "32917998+jsl12@users.noreply.github.com" }
|
|
]
|
|
requires-python = ">=3.10"
|
|
dependencies = []
|
|
|
|
[project.scripts]
|
|
daglib = "daglib:main"
|
|
|
|
[build-system]
|
|
requires = ["uv_build>=0.10.2,<0.11.0"]
|
|
build-backend = "uv_build"
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"ipykernel>=7.2.0",
|
|
"pre-commit>=4.5.1",
|
|
"rich>=14.3.3",
|
|
"ruff>=0.15.2",
|
|
]
|
|
test = [
|
|
"pytest>=9.0.2",
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
python_files = ["test_*.py"]
|
|
python_classes = ["Test*"]
|
|
python_functions = ["test_*"]
|
|
addopts = [
|
|
"-v",
|
|
"--strict-markers",
|
|
"--strict-config",
|
|
]
|
|
|
|
[tool.ruff]
|
|
line-length = 120
|
|
target-version = "py312"
|
|
|
|
[tool.ruff.lint]
|
|
select = [
|
|
"E", # pycodestyle errors
|
|
"W", # pycodestyle warnings
|
|
"F", # pyflakes
|
|
"I", # isort
|
|
"UP", # pyupgrade
|
|
"B", # flake8-bugbear
|
|
"C4", # flake8-comprehensions
|
|
"SIM", # flake8-simplify
|
|
]
|
|
extend-fixable = ["ALL"]
|
|
ignore = ["UP046", "UP047"]
|
|
|
|
[tool.ruff.lint.isort]
|
|
known-first-party = ["daglib"]
|