From 7fab480418ebdf5f4b19b24c985b853542c97439 Mon Sep 17 00:00:00 2001 From: Sebastian Bank Date: Sun, 17 Mar 2024 20:58:10 +0100 Subject: [PATCH] ignore own signature-related deprecation warnings in release process https://docs.python.org/3/library/warnings.html#describing-warning-filters --- docs/release_process.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/release_process.rst b/docs/release_process.rst index bece7e0189..9a0c03a058 100644 --- a/docs/release_process.rst +++ b/docs/release_process.rst @@ -43,7 +43,7 @@ Run the tests, lint the code, and build the documentation: .. code:: bash - $ python -m tox -r -- -W error # --recreate, raise error on warning + $ python -m tox -r -- -W error -W ignore:"The signature of":PendingDeprecationWarning # --recreate, raise error on warning $ python lint-code.py --disable-noqa $ python build-docs.py -b doctest $ python build-docs.py