Skip to content

Commit

Permalink
Enable warnings as errors for Python tests (#1551)
Browse files Browse the repository at this point in the history
As part of rapidsai/build-planning#26, warnings in Python tests will cause that test to fail.

Authors:
  - Matthew Roeschke (https://github.com/mroeschke)
  - Lawrence Mitchell (https://github.com/wence-)

Approvers:
  - Lawrence Mitchell (https://github.com/wence-)

URL: #1551
  • Loading branch information
mroeschke authored May 2, 2024
1 parent 9d0a29a commit 363e4c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions python/rmm/.coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
[run]
include = rmm/*
omit = rmm/tests/*
disable_warnings=include-ignored
5 changes: 5 additions & 0 deletions python/rmm/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,8 @@ wheel.packages = ["rmm"]
provider = "scikit_build_core.metadata.regex"
input = "rmm/VERSION"
regex = "(?P<value>.*)"

[tool.pytest.ini_options]
filterwarnings = [
"error",
]

0 comments on commit 363e4c6

Please sign in to comment.