-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
50 lines (40 loc) · 1.43 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
[build-system]
requires = ["hatchling", "hatch-requirements-txt"]
build-backend = "hatchling.build"
[project]
name = "useful-moderator"
authors = [{ name = "ThomasByr", email = "tbouyer2000@gmail.com" }]
description = "Useful Moderator - Discord Bot"
readme = "README.md"
requires-python = ">=3.11"
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Operating System :: OS Independent",
]
dynamic = ["dependencies", "optional-dependencies", "version"]
[tool.hatch.version]
path = "src/version.py"
[tool.hatch.metadata.hooks.requirements_txt]
files = ["requirements.txt"]
[tool.hatch.metadata.hooks.requirements_txt.optional-dependencies]
dev = ["requirements-dev.txt"]
[tool.hatch.build.targets.sdist]
exclude = [".github", "docs"]
[tool.hatch.build.targets.wheel]
packages = ["src"]
[project.urls]
Documentation = "https://github.com/ThomasByr/useful-moderator/wiki"
Issues = "https://github.com/ThomasByr/useful-moderator/issues"
Source = "https://github.com/ThomasByr/useful-moderator"
[tool.hatch.envs.dev]
path = ".hatch"
features = ["dev"]
[tool.hatch.envs.dev.scripts]
test = "python -m pytest"
lint = "python -m pylint src"
style = "python -m yapf -dr src"
fmt = "python -m yapf -ir src"
check = ["test", "lint", "style"]