Skip to content

Commit

Permalink
Suppress known warnings from underlying tools
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Jan 4, 2024
1 parent 19c3061 commit 1664834
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,11 @@ passenv =
SPHINX_BUILD_OUTPUT_DIRECTORY
SSH_AUTH_SOCK
setenv =
PYTHONWARNINGS = error
# NOTE: `pip` vendors deprecated `setuptools`' `pkg_resources`, causing
# NOTE: an unfixable deprecation error, so it's suppressed here. Older
# NOTE: `towncrier` versions hit it too. Some `sphinxcontrib` namespace
# NOTE: extensions haven't yet been upgraded to using PEP 420 either:
PYTHONWARNINGS = error,once:pkg_resources is deprecated as an API.:DeprecationWarning:pip._internal.metadata.importlib._envs,once:pkg_resources is deprecated as an API.:DeprecationWarning:towncrier._settings.load,once:Deprecated call to `pkg_resources.declare_namespace('sphinxcontrib')`.:DeprecationWarning
skip_install = true


Expand Down

0 comments on commit 1664834

Please sign in to comment.