-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (85 loc) · 2.16 KB
/
Copy pathpyproject.toml
File metadata and controls
95 lines (85 loc) · 2.16 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[project]
name = "semvertag"
description = "Auto-tag GitHub & GitLab repos with semantic version tags from CI"
authors = [{ name = "Artur Shiriev", email = "me@shiriev.ru" }]
requires-python = ">=3.11,<4"
license = "MIT"
readme = "README.md"
keywords = ["semver", "versioning", "git", "github", "gitlab", "ci", "conventional-commits", "auto-tag", "cli", "python"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Typing :: Typed",
"Topic :: Software Development :: Libraries",
]
version = "0"
dependencies = [
"typer",
"rich",
"semver",
"pydantic-settings",
"modern-di-typer",
"httpx2",
"httpware[pydantic]>=0.15.0",
]
[project.scripts]
semvertag = "semvertag.__main__:main"
[project.urls]
Homepage = "https://semvertag.modern-python.org"
Documentation = "https://semvertag.modern-python.org"
Repository = "https://github.com/modern-python/semvertag"
Issues = "https://github.com/modern-python/semvertag/issues"
Changelog = "https://github.com/modern-python/semvertag/releases"
[build-system]
requires = ["uv_build>=0.11,<1"]
build-backend = "uv_build"
[tool.uv.build-backend]
module-name = "semvertag"
module-root = ""
[dependency-groups]
dev = [
"pytest",
"pytest-cov",
"pytest-xdist",
"pytest-randomly",
"pyyaml",
]
lint = [
"ruff",
"ty",
"eof-fixer",
]
[tool.ruff]
fix = true
unsafe-fixes = true
line-length = 120
target-version = "py310"
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"D1",
"FBT",
"TRY003",
"EM102",
"D203",
"D213",
"COM812",
"ISC001",
"S105",
]
isort.lines-after-imports = 2
isort.no-lines-before = ["standard-library", "local-folder"]
[tool.ruff.lint.extend-per-file-ignores]
"tests/**/*.py" = ["S101", "SLF001"]
[tool.pytest.ini_options]
addopts = "--cov=semvertag --cov=tests._descriptor_gate --cov-branch --cov-report term-missing"
testpaths = ["tests"]
[tool.coverage.report]
fail_under = 100
exclude_also = [
"if typing.TYPE_CHECKING:",
]