Skip to content

Commit 3289580

Browse files
committed
Add back pyproject edits
1 parent a630549 commit 3289580

File tree

2 files changed

+497
-24
lines changed

2 files changed

+497
-24
lines changed

pyproject.toml

Lines changed: 30 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,46 @@
11
[project]
22
name = "zeusops_bot"
33
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+
]
58
readme = "README.md"
69

710
# Using uv-dynamic-versioning to generate version number from closest git tag
811
# Generate the version number via 'uvx dunamai from git'
912
dynamic = ["version"]
1013

1114
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)",]
1324

1425
[project.optional-dependencies]
1526
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",]
2339
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.*",]
2844

2945
[project.scripts]
3046
zeusops-bot = "zeusops_bot.cli:cli"
@@ -47,6 +63,7 @@ addopts = """-vv \
4763
--cov-report=html:test_results/coverage.html \
4864
--cov-report=term \
4965
--junit-xml=test_results/results.xml"""
66+
xfail_strict = true
5067

5168
[tool.coverage.run]
5269
omit = [

0 commit comments

Comments
 (0)