-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
109 lines (94 loc) · 2.64 KB
/
pyproject.toml
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
[project]
name = "heave"
version = "0.4.0"
description = "CLI tool to batch update or insert data."
authors = [{name = "Jonathan Biemond", email = "[email protected]"},]
license = "MIT"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"sqlalchemy>=2.0.32",
"click>=8.1.7",
"psycopg[binary]>=3.2.1",
]
[project.scripts]
heave = "heave.cli:cli"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.uv]
dev-dependencies = [
"ruff>=0.6.1",
"pytest>=8.3.2",
"coverage>=7.6.1",
"pre-commit>=3.8.0",
"python-semantic-release>=9.8.7",
]
[tool.ruff]
lint.select = [
"E", # pycodestyle
"F", # pyflakes
"W", # pycodestyle
"B", # bugbear
"I", # isort
"RUF", # ruff
"D", # pydocstyle
"A", # builtins
"C4", # comprehension
"UP", # pyupgrade
]
lint.ignore = [
"E501", # ruff format handles line length
"D203", # one-blank-line-before-class: conflicts with D211
"D213", # multi-line-summary-second-line: conflicts with D212
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"] # __init__.py files may have unused imports
[tool.semantic_release]
version_variables = ["pyproject.toml:version"]
assets = []
commit_message = "v{version}\n\nAutomatically generated by python-semantic-release"
commit_parser = "angular"
logging_use_named_masks = false
major_on_zero = true
tag_format = "v{version}"
build_command = "pip install uv && uvx --from build pyproject-build --installer uv"
[tool.semantic_release.branches.main]
match = "(main)"
prerelease = false
prerelease_token = "rc"
[tool.semantic_release.changelog]
template_dir = "templates"
changelog_file = "CHANGELOG.md"
exclude_commit_patterns = []
[tool.semantic_release.changelog.environment]
block_start_string = "{%"
block_end_string = "%}"
variable_start_string = "{{"
variable_end_string = "}}"
comment_start_string = "{#"
comment_end_string = "#}"
trim_blocks = false
lstrip_blocks = false
newline_sequence = "\n"
keep_trailing_newline = false
extensions = []
autoescape = true
[tool.semantic_release.commit_author]
env = "GIT_COMMIT_AUTHOR"
default = "semantic-release <semantic-release>"
[tool.semantic_release.commit_parser_options]
allowed_tags = ["build", "chore", "ci", "docs", "feat", "fix", "perf", "style", "refactor", "test"]
minor_tags = ["feat"]
patch_tags = ["fix", "perf"]
[tool.semantic_release.remote]
name = "origin"
type = "github"
ignore_token_for_push = false
[tool.semantic_release.remote.token]
env = "GH_TOKEN"
[tool.semantic_release.publish]
dist_glob_patterns = ["dist/*"]
upload_to_vcs_release = false
upload_to_repository = false
upload_to_release = false