-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
139 lines (123 loc) · 3.15 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "stuart"
version = "0.1.0"
requires-python = ">=3.10"
# cf. https://pypi.org/classifiers/
classifiers = [
"Development Status :: 1 - Planning",
"Environment :: No Input/Output (Daemon)",
"Framework :: Flask",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Database :: Front-Ends",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
"Topic :: Games/Entertainment :: Simulation",
"Topic :: Utilities",
]
dependencies = [
"Flask",
"Flask-Bootstrap",
"Flask-WTF",
"gunicorn",
"lethbridge",
]
[project.license]
file = "LICENSE"
[project.optional-dependencies]
dev = [
"autopep8",
"black",
"build",
"flake8",
"isort",
"id",
"jedi",
"pre-commit",
"python-semantic-release",
"twine",
"yapf",
]
psycopg2 = [
"psycopg2",
]
psycopg2cffi = [
"psycopg2cffi",
]
test = [
"pytest",
"pytest-cov",
"pytest-emoji",
"pytest-md",
"pytest-order",
"pytest-reportlog",
]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[tool.isort]
profile = "black"
skip_gitignore = true
[tool.pytest.ini_options]
# Invoke smoke tests with `pytest -k smoke` or `pytest -m "smoke and
# not slow"`. See also https://docs.pytest.org/en/stable/mark.html,
# https://stackoverflow.com/a/52369721.
markers = [
"slow",
"smoke",
]
[tool.semantic_release]
assets = []
commit_message = "release: cut the v{version} release\n\nAutomatically generated by python-semantic-release"
commit_parser = "angular"
logging_use_named_masks = false
# Change back to true once ready for the 1.0 release. See also
# https://python-semantic-release.readthedocs.io/en/stable/algorithm.html.
major_on_zero = false
tag_format = "v{version}"
version_toml = [
"pyproject.toml:project.version",
]
[tool.semantic_release.branches.main]
match = "(main|master)"
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 <releng@irtnog.org>"
[tool.semantic_release.commit_parser_options]
allowed_tags = ["build", "ci", "docs", "feat", "fix", "perf", "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 = true
[tool.setuptools.package-dir]
stuart = "src"