Skip to content

Commit

Permalink
Elevate warnings to catch deprecations in the future
Browse files Browse the repository at this point in the history
  • Loading branch information
kenodegard committed Aug 14, 2024
1 parent 8af1bc1 commit cae18cb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,17 @@ Home = "https://github.com/conda/conda-index"
[tool.pytest.ini_options]
minversion = "7.0"
testpaths = ["tests"]
filterwarnings = [
# elevate conda's deprecated warning to an error
"error::PendingDeprecationWarning:conda",
"error::DeprecationWarning:conda",
# elevate conda-build's deprecated warning to an error
"error::PendingDeprecationWarning:conda_build",
"error::DeprecationWarning:conda_build",
# elevate conda-index's deprecated warning to an error
"error::PendingDeprecationWarning:conda_index",
"error::DeprecationWarning:conda_index",
]

[tool.coverage.run]
concurrency = ["multiprocessing", "thread"]
Expand Down

0 comments on commit cae18cb

Please sign in to comment.