Skip to content

Commit

Permalink
django-debug-toolbar 3.0a2
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiask committed Jul 15, 2020
1 parent 3e626df commit 4d0d718
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
.PHONY: flake8 example test coverage translatable_strings update_translations

style:
isort -rc debug_toolbar example tests
isort debug_toolbar example tests
black --target-version=py35 debug_toolbar example tests setup.py
flake8 debug_toolbar example tests

style_check:
isort -rc -c debug_toolbar example tests
isort -c debug_toolbar example tests
black --target-version=py34 --check debug_toolbar example tests setup.py

flake8:
Expand Down
2 changes: 1 addition & 1 deletion debug_toolbar/panels/templates/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ def template_source(request):

try:
from pygments import highlight
from pygments.lexers import HtmlDjangoLexer
from pygments.formatters import HtmlFormatter
from pygments.lexers import HtmlDjangoLexer

source = highlight(source, HtmlDjangoLexer(), HtmlFormatter())
source = mark_safe(source)
Expand Down
5 changes: 4 additions & 1 deletion docs/changes.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Change log
==========

3.0a1 (2020-06-05)
3.0a2 (2020-07-15)
------------------

* Added an ``.editorconfig`` file specifying indentation rules etc.
Expand All @@ -20,6 +20,9 @@ Change log
localStorage.
* Updated the code to avoid a few deprecation warnings and resource warnings.
* Started loading JavaScript as ES6 modules.
* Added support for ``cache.touch()`` when using django-debug-toolbar.
* Eliminated more inline CSS.
* Updated ``tox.ini`` and ``Makefile`` to use isort>=5.

**Backwards incompatible changes**
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@
# built documents.
#
# The short X.Y version.
version = '3.0a1'
version = '3.0a2'
# The full version, including alpha/beta/rc tags.
release = '3.0a1'
release = '3.0a2'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = django-debug-toolbar
version = 3.0a1
version = 3.0a2
description = A configurable set of panels that display various debug information about the current request/response.
long_description = file: README.rst
author = Rob Hudson
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ skip_install = true

[testenv:style]
basepython = python3
commands = make style_check
commands = make style
deps =
black>=19.10b0
flake8
isort
isort>=5
skip_install = true

[testenv:eslint]
Expand Down

0 comments on commit 4d0d718

Please sign in to comment.