1
1
[project ]
2
2
name = " zeusops_bot"
3
3
description = " Multipurpose discord bot for the Zeusops community"
4
- authors = [ {
name =
" Jb Doyon" ,
email =
" [email protected] " } ]
4
+ authors = [
5
+ {
name =
" Jb Doyon" ,
email =
" [email protected] " },
6
+ {
name =
" Sami Laine" ,
email =
" [email protected] " }
7
+ ]
5
8
readme = " README.md"
6
9
7
10
# Using uv-dynamic-versioning to generate version number from closest git tag
8
11
# Generate the version number via 'uvx dunamai from git'
9
12
dynamic = [" version" ]
10
13
11
14
requires-python = " >=3.12"
12
- dependencies = []
15
+ dependencies = [
16
+ # JSON patching (modifying files)
17
+ " jsonpatch" ,
18
+ # JSON Models and validation
19
+ " pydantic (>=2.10.6,<3.0.0)" ,
20
+ # Envvar for settings and their validation
21
+ " pydantic-settings (>=2.7.1,<3.0.0)" ,
22
+ # Discord bot framework
23
+ " py-cord (>=2.6.1,<3.0.0)" ,]
13
24
14
25
[project .optional-dependencies ]
15
26
docs = [
16
- " sphinx == 7.3.7" ,
17
- " sphinx-rtd-theme == 1.3.0" ,
18
- " myst-parser == 3.0.1" ,
19
- " sphinx-autodoc2 == 0.5.0" ,
20
- " sphinxcontrib-programoutput == 0.17" ,
21
- " sphinx-jinja == 2.0.2" ,
22
- " doc2dash == 3.1.0" ,]
27
+ # Main documentation-as-code (HTML/PDF generator)
28
+ " sphinx" ,
29
+ # Read the docs (pretty) theme for sphinx
30
+ " sphinx-rtd-theme == 1.*" ,
31
+ # Markdown parser for sphinx: Sphinx uses "RST" files, this adds markdown
32
+ " myst-parser" ,
33
+ # Automatic Python module docs (javadoc-style)
34
+ " sphinx-autodoc2" ,
35
+ " sphinxcontrib-programoutput" ,
36
+ " sphinx-jinja == 2.*" ,
37
+ # Generate Dash/Zeal "docsets" (offline dev-docs package) from HTML docs
38
+ " doc2dash" ,]
23
39
test = [
24
- " pytest == 7.4.4 " ,
25
- " pytest-cov == 5.0.0 " ,
26
- " pytest-clarity == 1.0.1 " ,
27
- " pytest-datadir == 1.5.0 " ,]
40
+ " pytest == 7.* " ,
41
+ " pytest-cov == 5.* " ,
42
+ " pytest-clarity == 1.* " ,
43
+ " pytest-datadir == 1.* " ,]
28
44
29
45
[project .scripts ]
30
46
zeusops-bot = " zeusops_bot.cli:cli"
@@ -47,6 +63,7 @@ addopts = """-vv \
47
63
--cov-report=html:test_results/coverage.html \
48
64
--cov-report=term \
49
65
--junit-xml=test_results/results.xml"""
66
+ xfail_strict = true
50
67
51
68
[tool .coverage .run ]
52
69
omit = [
0 commit comments