-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
99 lines (89 loc) · 2.25 KB
/
pyproject.toml
File metadata and controls
99 lines (89 loc) · 2.25 KB
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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "support-bot"
dynamic = ["version"]
description = "Support bot written in python to help manage LizardByte communities"
readme = "README.md"
requires-python = ">=3.13"
license = {text = "AGPL-3.0-only"}
authors = [
{name = "LizardByte", email = "lizardbyte@users.noreply.github.com"}
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Affero General Public License v3.0 only (AGPL-3.0-only)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"colorlog==6.10.1",
"cryptography==46.0.6",
"Flask==3.1.3",
"Flask-WTF==1.2.2",
"GitPython==3.1.46",
"libgravatar==1.0.4",
"mistletoe==1.5.1",
"praw==7.8.1",
"py-cord==2.7.1",
"python-dotenv==1.2.2",
"requests==2.33.0",
"requests-oauthlib==2.0.0",
"tinydb==4.8.2",
]
[project.optional-dependencies]
dev = [
"betamax==0.9.0",
"betamax-serializers==0.2.1",
"pytest==9.0.2",
"pytest-asyncio==1.3.0",
"pytest-cov==7.1.0",
"pytest-mock==3.15.1",
]
[project.urls]
Homepage = "https://github.com/LizardByte/support-bot"
Repository = "https://github.com/LizardByte/support-bot"
Issues = "https://github.com/LizardByte/support-bot/issues"
[tool.setuptools]
packages = ["src"]
[tool.setuptools.dynamic]
version = {attr = "src.common.version.__version__"}
[tool.setuptools.package-data]
"*" = ["*.md", "*.txt"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"-rxXs",
"--tb=native",
"--verbose",
"--color=yes",
"--cov=src",
"--cov-report=term-missing",
"--junitxml=junit.xml",
"-o", "junit_family=legacy",
]
markers = [
"unit: Unit tests",
"integration: Integration tests",
]
[tool.coverage.run]
source = ["src"]
omit = [
"*/tests/*",
"*/__pycache__/*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"@abstractmethod",
]