Skip to content

Commit

Permalink
Treat deprecation warnings as errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kenodegard committed Sep 11, 2024
1 parent 0977db9 commit 75fe019
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,14 @@ addopts = [
"--tb=native",
"--strict-markers"
]

filterwarnings = [
# elevate conda's deprecated warning to an error
"error::PendingDeprecationWarning:conda",
"error::DeprecationWarning:conda",
# elevate conda-libmamba-solver's deprecated warning to an error
"error::PendingDeprecationWarning:conda_libmamba_solver",
"error::DeprecationWarning:conda_libmamba_solver",
]
markers = [
"integration: integration tests that usually require an internet connect",
"slow: slow running tests",
Expand Down

0 comments on commit 75fe019

Please sign in to comment.