Skip to content

Commit 7483e04

Browse files
Claude Labclaude
andcommitted
test: enforce warnings-as-errors in pytest configuration
All 1040 tests already pass with `pytest -W error`; this commit codifies that constraint in `pyproject.toml` so future regressions are caught automatically without needing to remember the manual flag. Closes #541 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 8d74ffc commit 7483e04

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ sqlite-utils = "sqlite_utils.cli:cli"
7272
requires = ["setuptools"]
7373
build-backend = "setuptools.build_meta"
7474

75+
[tool.pytest.ini_options]
76+
filterwarnings = ["error"]
77+
7578
[tool.flake8]
7679
max-line-length = 160
7780
# Black compatibility, E203 whitespace before ':':

0 commit comments

Comments
 (0)