Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f8cad58

Browse filesBrowse files
authored
Merge pull request #1892 from EliahKagan/pytest-warnings
Don't suppress pytest warning summaries
2 parents f1a7e02 + f18df8e commit f8cad58
Copy full SHA for f8cad58

File tree

1 file changed

+1
-2
lines changed
Filter options

1 file changed

+1
-2
lines changed

‎pyproject.toml

Copy file name to clipboardExpand all lines: pyproject.toml
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = ["setuptools"]
33
build-backend = "setuptools.build_meta"
44

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

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.