build: tox cleanup

This commit is contained in:
2026-07-23 15:54:26 +03:00
parent f37c5bd2a2
commit 9c3d1471e0
+13 -12
View File
@@ -2,7 +2,6 @@ env_list = [
"check",
"tests",
]
isolated_build = true
requires = [
"tox-uv",
]
@@ -33,6 +32,17 @@ bandit = [
"--configfile",
".bandit.toml",
]
coverage_report = [
"--show-missing",
"--skip-covered",
"--fail-under=100",
]
coverage_run = [
"--source",
"ahriman",
"-m",
"pytest",
]
manpage = [
"--author",
"{[project]name} team",
@@ -114,7 +124,6 @@ deps = [
pip_pre = true
set_env.CFLAGS = "-Wno-unterminated-string-initialization"
set_env.MYPYPATH = "ahriman-core/src:ahriman-triggers/src:ahriman-web/src"
uv_seed = true
commands = [
[
"autopep8",
@@ -275,15 +284,12 @@ deps = [
{ replace = "ref", of = ["project", "extras"], extend = true },
]
pip_pre = true
recreate = true
commands = [
[
"sphinx-build",
"--builder",
"html",
"--fail-on-warning",
"--jobs",
"1",
"--write-all",
"docs",
"{envtmpdir}/html",
@@ -353,10 +359,7 @@ commands = [
[
"coverage",
"run",
"--source",
"ahriman",
"-m",
"pytest",
{ replace = "ref", of = ["flags", "coverage_run"], extend = true },
{ replace = "posargs", default = [
"tests/test_tests.py",
"ahriman-core/tests",
@@ -367,9 +370,7 @@ commands = [
[
"coverage",
"report",
"--show-missing",
"--skip-covered",
"--fail-under=100",
{ replace = "ref", of = ["flags", "coverage_report"], extend = true },
],
]