Initial commit
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
[project]
|
||||
name = "sample" # TODO: 2. rename project
|
||||
version = "0.0.0"
|
||||
description = "Add your description here"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.14"
|
||||
dependencies = []
|
||||
|
||||
[project.scripts]
|
||||
sample = "sample.__main__:main" # TODO: 2. rename project
|
||||
|
||||
[build-system]
|
||||
requires = ["uv_build>=0.11.7,<0.12"]
|
||||
build-backend = "uv_build"
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"coverage>=7.13.5,<8.0.0",
|
||||
"pytest>=9.0.3,<10.0.0",
|
||||
"ruff>=0.15.12,<0.16.0",
|
||||
"ty>=0.0.34,<0.0.35",
|
||||
]
|
||||
|
||||
[tool.uv]
|
||||
add-bounds = "major"
|
||||
|
||||
[tool.uv.build-backend]
|
||||
module-root = ""
|
||||
module-name = "sample" # TODO: 2. rename project
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = ["ALL"]
|
||||
ignore = ["D", "E501", "ANN401", "BLE001", "COM812", "S101", "PT"]
|
||||
|
||||
[tool.ty.src]
|
||||
include = ["sample", "tests"] # TODO: 2. rename project
|
||||
|
||||
[tool.ty.environment]
|
||||
python = "./.venv/bin/python3"
|
||||
|
||||
[tool.coverage.run]
|
||||
source = ["sample"] # TODO: 2. rename project
|
||||
omit = ["sample/logs.py", "sample/__main__.py"]
|
||||
Reference in New Issue
Block a user