-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (61 loc) · 1.6 KB
/
pyproject.toml
File metadata and controls
76 lines (61 loc) · 1.6 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[project]
name = "deploy"
version = "0.6.1"
description = "CLI tool for deploying and managing applications on remote servers over SSH."
authors = [{name = "hailangvn", email = "hailn@trobz.com"}]
requires-python = ">=3.10"
readme = "README.md"
license = "AGPL-3.0"
license-files = ["LICENSE"]
dependencies = [
"click>=8.0",
"jinja2>=3.0",
"pyyaml>=6.0",
]
[project.urls]
Repository = "https://github.com/trobz/deploy.py"
[project.scripts]
deploy = "deploy.cli:cli"
[dependency-groups]
dev = [
"pre-commit>=2.20.0",
"ty>=0.0.1a16",
"ruff>=0.11.5",
"pytest>=7.2.0",
"python-semantic-release>=10.5.3",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
[build-system]
requires = ["uv_build>=0.7.19,<0.8.0"]
build-backend = "uv_build"
[tool.uv.build-backend]
module-name = "deploy"
module-root = ""
[project.optional-dependencies]
build = ["uv ~= 0.7.12"]
[tool.semantic_release]
version_toml = ["pyproject.toml:project.version"]
build_command = """
python -m pip install -e '.[build]'
uv lock --upgrade-package deploy
git add uv.lock
uv build
"""
# Commit parser - this should be at the top level
commit_parser = "conventional"
# Allow 0.x.x versions (prevents jumping straight to 1.0.0)
allow_zero_version = true
# Don't do major version bumps when in 0.x.x
major_on_zero = false
# Tag format
tag_format = "v{version}"
[tool.semantic_release.changelog]
exclude_commit_patterns = [
'''chore(?:\([^)]*?\))?: .+''',
'''ci(?:\([^)]*?\))?: .+''',
'''style(?:\([^)]*?\))?: .+''',
'''test(?:\([^)]*?\))?: .+''',
'''build\((?!deps\): .+)''',
'''initial commit.*''',
]