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 @@ -21,6 +21,8 @@ Pending
limits. When ``SQLParseError`` is raised, the SQL panel now automatically
disables grouping and retries formatting, preventing crashes with large
queries.
* Updated tox configuration to treat ``DeprecationWarning``,
``ResourceWarning``, and ``PendingDeprecationWarning`` as errors.

6.3.0 (2026-04-01)
------------------
Expand Down
10 changes: 8 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,13 @@ passenv=
GITHUB_*
setenv =
PYTHONPATH = {toxinidir}
PYTHONWARNINGS = d
PYTHONWARNINGS =\
error::ResourceWarning,\
error::DeprecationWarning,\
error::PendingDeprecationWarning,\
ignore:The RedirectsPanel is deprecated:DeprecationWarning,\
# This can be removed when we're fully to 6.0
ignore:The 'partial'and 'partialdef' template tags are now part of Django core:DeprecationWarning
DB_NAME = {env:DB_NAME:debug_toolbar}
DB_USER = {env:DB_USER:debug_toolbar}
DB_HOST = {env:DB_HOST:localhost}
Expand All @@ -43,7 +49,7 @@ allowlist_externals = make
pip_pre = True
dependency_groups =
dev
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{52,60,main}-{postgresql,psycopg3}]
Expand Down
Loading