Skip to content

Commit

Permalink
Merge pull request #1892 from EliahKagan/pytest-warnings
Browse files Browse the repository at this point in the history
Don't suppress pytest warning summaries
  • Loading branch information
Byron authored Apr 2, 2024
2 parents f1a7e02 + f18df8e commit f8cad58
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[tool.pytest.ini_options]
addopts = "--cov=git --cov-report=term --disable-warnings -ra"
addopts = "--cov=git --cov-report=term -ra"
filterwarnings = "ignore::DeprecationWarning"
python_files = "test_*.py"
tmp_path_retention_policy = "failed"
Expand All @@ -13,7 +13,6 @@ testpaths = "test" # Space separated list of paths from root e.g test tests doc
# --cov-report term-missing # to terminal with line numbers
# --cov-report html:path # html file at path
# --maxfail # number of errors before giving up
# -disable-warnings # Disable pytest warnings (not codebase warnings)
# -rfE # default test summary: list fail and error
# -ra # test summary: list all non-passing (fail, error, skip, xfail, xpass)
# --ignore-glob=**/gitdb/* # ignore glob paths
Expand Down

0 comments on commit f8cad58

Please sign in to comment.