Skip to content

Commit ffcc842

Browse files
Move pytest warning enable into pyproject.toml (#118)
Signed-off-by: Stefan VanBuren <svanburen@buf.build> Signed-off-by: Anuraag Agrawal <anuraaga@gmail.com> Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
1 parent 8393849 commit ffcc842

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ typecheck:
2121

2222
# Run unit tests
2323
test *args:
24-
uv run pytest -W error {{ args }}
24+
uv run pytest {{ args }}
2525

2626
# Run lint, typecheck and test
2727
check: lint typecheck test

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ module-name = "connectrpc"
8383
strict = true
8484
testpaths = ["test"]
8585
timeout = "1800" # 30 min
86+
# Turn all warnings into errors
87+
filterwarnings = ["error"]
8688

8789
[tool.ruff.format]
8890
skip-magic-trailing-comma = true

uv.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)