-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
51 lines (44 loc) · 1.17 KB
/
pyproject.toml
File metadata and controls
51 lines (44 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "annotator-cli"
version = "1.0.0"
description = "Annotates source files with their relative paths for easier AI/debug context"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"pathspec>=1.0.4",
]
license = { text = "MIT" }
[project.scripts]
annotator = "annotator.cli:main"
[tool.setuptools]
packages = ["annotator"]
include-package-data = true
[tool.setuptools.package-data]
annotator = ["templates/*.json"]
[dependency-groups]
dev = [
"poethepoet>=0.41.0",
"pre-commit>=4.5.1",
"pytest>=9.0.2",
"pytest-cov>=7.0.0",
"python-semantic-release>=10.5.3",
"ruff>=0.15.2",
]
[tool.poe.tasks]
test = "pytest"
test-cov = "pytest --cov=annotator tests/ --cov-report=term-missing"
check = "ruff check ."
fix = "ruff check --fix ."
format = "ruff format ."
clean = """
rm -rf .venv .ruff_cache .pytest_cache .coverage htmlcov dist build *.egg-info
"""
lint = ["fix", "format"]
[tool.semantic_release]
version_toml = ["pyproject.toml:project.version"]
branch = "master"
build_command = "uv build"
commit_message = "chore(release): {version} [skip ci]"