Skip to content

Commit

Permalink
Don't pass --disable-warnings to pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
EliahKagan committed Mar 31, 2024
1 parent 5364053 commit f18df8e
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 f18df8e

Please sign in to comment.