Skip to content

Commit ec6f9df

Browse files
committed
Stop Sphinx treating warnings as errors
1 parent a84591e commit ec6f9df

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,9 @@ commands =
104104
pre-commit: pre-commit run --all-files --show-diff-on-failure {posargs}
105105
type-checking: mypy src tests {posargs}
106106
tests: pytest --cov=atip --cov-report term --cov-report xml:cov.xml {posargs}
107-
docs: sphinx-{posargs:build -EW --keep-going} -T docs build/html
107+
docs: sphinx-{posargs:build -E --keep-going} -T docs build/html
108108
"""
109+
# Add -W flag to sphinx-build if you want to fail on warnings
109110

110111
[tool.ruff]
111112
src = ["src", "tests"]

0 commit comments

Comments
 (0)