-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
87 lines (77 loc) · 2.03 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
[build-system]
requires = ["setuptools ~= 70"]
build-backend = "setuptools.build_meta"
[project]
name = "Wakatime-Leaderboards"
description = "Automated WakaTime leaderboards for your GitHub profile"
readme = "README.md"
requires-python = ">=3.8"
license = {file = "LICENSE"}
authors = [
{name = "Nicco", email = "38905025+Nicconike@users.noreply.github.com"},
]
dynamic = "version_variables"
dependencies = [
"PyGithub==2.4.0",
"python-semantic-release==9.12.0"
]
[project.optional-dependencies]
dev = [
"pylint==3.3.1",
"pipdeptree==2.23.4",
]
test = [
"pytest-cov==5.0.0",
"pytest-mock==3.14.0"
]
[project.urls]
Homepage = "https://github.com/nicconike/wakatime-leaderboards"
documentation = "https://github.com/Nicconike/Wakatime-Leaderboards/blob/master/README.md"
"Bug Tracker" = "https://github.com/nicconike/wakatime-leaderboards/issues"
[tool.semantic_release]
version_variables = ["api/main.py:__version__"]
tag_format = "v{version}"
commit_message = "chore: Version Release {version}"
branch = "master"
changelog_file = "CHANGELOG.md"
[tool.semantic_release.commit_parser_options]
allowed_tags = ["build", "chore", "ci", "docs", "feat", "fix", "perf", "style", "refactor", "test", "revert"]
minor_tags = ["feat"]
patch_tags = ["fix", "perf"]
default_bump_level = 0
[tool.semantic_release.remote]
type = "github"
token = { env = "GH_TOKEN" }
[tool.semantic_release.publish]
upload_to_vcs_release = true
dist_glob_patterns = [
"dist/*"
]
[tool.semantic_release.changelog]
changelog_file = "CHANGELOG.md"
[tool.semantic_release.changelog.environment]
trim_blocks = true
[tool.semantic_release.plugins]
verify_conditions = [
"@semantic-release/git",
"@semantic-release/github"
]
analyze_commits = [
"@semantic-release/commit-analyzer"
]
generate_notes = [
"@semantic-release/release-notes-generator"
]
prepare = [
"@semantic-release/changelog",
"@semantic-release/git"
]
publish = [
"@semantic-release/github"
]
success = [
"@semantic-release/github"
]
fail = [
"@semantic-release/github"
]