-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* pre-commit now always dumps the test coverage report to the console. All other pre-commit stages do not have this behavior as they will spam the logs. * Minor documentation changes to the Makefile * Pytest will now error on warnings. * Adds some notes in the pytest config file * Adds Python 3.13 test; removes redundant check on 3.11 * Removes 3.13 test and adds deprecation warning notes for deadlock warning in 3.12 * Adds note about Pytest Unraisable warning
- Loading branch information
1 parent
d8dec77
commit d19b1c7
Showing
4 changed files
with
26 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,3 +63,4 @@ repos: | |
always_run: true | ||
pass_filenames: false | ||
entry: make test-cov | ||
verbose: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,17 @@ | ||
# This surpresses deprecation `pytest` warnings related to using `conda.*` packages. | ||
[pytest] | ||
filterwarnings = | ||
# Turns warnings into errors so we are alerted in the CI pipeline | ||
error | ||
# Further investigation needed, but this seems tied to the complex mockers used in the `fetcher` module. Tracked in | ||
# Issue #237 | ||
# - https://docs.pytest.org/en/stable/reference/reference.html#pytest.PytestUnraisableExceptionWarning | ||
ignore::pytest.PytestUnraisableExceptionWarning | ||
# Root cause unclear, may be caused by `xdist` implementation for Linux. Tracked in Issue #236 | ||
# - https://github.com/python/cpython/issues/100228 | ||
# - https://github.com/python/cpython/pull/100229 | ||
ignore::DeprecationWarning:multiprocessing.popen_fork | ||
# Deprecation warnings from `conda` | ||
ignore::DeprecationWarning:boltons.* | ||
ignore::DeprecationWarning:xdist.* | ||
addopts = --ignore=tests/test_aux_files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters