mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 09:24:31 +02:00
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>
This commit is contained in:
parent
8d74ffc932
commit
7483e047b1
1 changed files with 3 additions and 0 deletions
|
|
@ -72,6 +72,9 @@ sqlite-utils = "sqlite_utils.cli:cli"
|
|||
requires = ["setuptools"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
filterwarnings = ["error"]
|
||||
|
||||
[tool.flake8]
|
||||
max-line-length = 160
|
||||
# Black compatibility, E203 whitespace before ':':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue