Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ Pending
``debug_toolbar.store.DatabaseStore`` with ``SKIP_TOOLBAR_QUERIES``.
* Fixed font family for code blocks and stack traces in the toolbar.
* Added test to confirm Django's ``TestCase.assertNumQueries`` works.
* Updated tox configuration to treat ``DeprecationWarning``,
``ResourceWarning``, and ``PendingDeprecationWarning`` as errors.

6.1.0 (2025-10-30)
------------------
Expand Down
8 changes: 6 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,19 @@ passenv=
GITHUB_*
setenv =
PYTHONPATH = {toxinidir}
PYTHONWARNINGS = d
PYTHONWARNINGS =\
error::ResourceWarning,\
error::DeprecationWarning,\
error::PendingDeprecationWarning,\
ignore:The RedirectsPanel is deprecated:DeprecationWarning
DB_NAME = {env:DB_NAME:debug_toolbar}
DB_USER = {env:DB_USER:debug_toolbar}
DB_HOST = {env:DB_HOST:localhost}
DB_PASSWORD = {env:DB_PASSWORD:debug_toolbar}
DJANGO_SETTINGS_MODULE = tests.settings
allowlist_externals = make
pip_pre = True
commands = python -b -W always -m coverage run -m django test -v2 {posargs:tests}
commands = python -b -m coverage run -m django test -v2 {posargs:tests}


[testenv:py{310,311,312,313,314}-dj{42,51,52,60,main}-{postgresql,psycopg3}]
Expand Down
Loading