aboutsummaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml5
1 files changed, 5 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml
index c92bed4..ba959eb 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,3 +1,6 @@
+# Author: cirakg & claude ai
+# Summary: Settings for pytest, ruff and mypy, which check the Python tools in tools/.
+#
# Configuration for the Python tools in tools/ (they run inside the dev image).
# This is not a Python package; the file only configures pytest, ruff and mypy.
# Caches go to build/ so the source tree stays clean.
@@ -6,6 +9,8 @@
testpaths = ["tools/tests"]
cache_dir = "build/.pytest_cache"
addopts = "-p no:cacheprovider"
+# Warnings are errors here too (README section 17.7).
+filterwarnings = ["error"]
[tool.ruff]
line-length = 120