-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
109 lines (90 loc) · 2.44 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
[build-system]
build-backend = "hatchling.build"
requires = [
"hatchling",
]
[project]
authors = [{name = "Fabio Kapsahili", email = "[email protected]"}]
description = "A Python package for generating random slugs using a customizable vocabulary of words."
dynamic = [
"version",
]
keywords = ["sample", "setuptools", "development"]
license = {file = "LICENSE.txt"}
maintainers = [
{name = "Fabio Kapsahili", email = "[email protected]"},
]
name = "random-slugs"
readme = "README.md"
requires-python = ">=3.9"
classifiers = [
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
]
dependencies = []
[project.optional-dependencies]
dev = ["check-manifest"]
test = ["coverage"]
[project.urls]
"Bug Reports" = "https://github.com/fkapsahili/random-slugs/issues"
"Homepage" = "https://github.com/fkapsahili/random-slugs"
"Source" = "https://github.com/fkapsahili/random-slugs/"
[tool.hatch]
package-data = {"random-slugs" = ["*.txt"]}
[tool.hatch.version]
path = "random_slugs/__about__.py"
[tool.hatch.envs.test]
dependencies = [
"pytest",
]
[[tool.hatch.envs.test.matrix]]
python = ["3.8", "3.9", "3.10", "3.11", "3.12"]
[tool.hatch.envs.test.scripts]
test = "pytest"
[tool.hatch.envs.lint]
dependencies = [
"ruff",
]
[tool.hatch.envs.lint.scripts]
check = "ruff check ."
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = ["A", "B", "E", "F", "I", "ANN"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["ANN"]
[tool.pytest.ini_options]
log_cli = true
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
log_cli_level = "DEBUG"
[tool.semantic_release]
allow_zero_version = false
commit_message = "chore(release): release v{version} [skip ci]"
remove_dist = true
tag_format = "v{version}"
version_variables = ["random_slugs/__about__.py:__version__"]
[tool.semantic_release.commit_parser_options]
allowed_tags = [
"build",
"chore",
"ci",
"docs",
"feat",
"fix",
"perf",
"style",
"refactor",
"test",
]
major_tags = ["feat!"]
minor_tags = ["feat"]
patch_tags = ["fix", "perf", "docs", "style", "refactor", "test", "chore", "ci", "build"]
[tool.semantic_release.branches.main]
match = '(master|main)'
prerelease = false