Skip to content

Commit ef56872

Browse files
committed
Bump black target Python version to 3.5
django-debug-toolbar's minimum supported Python is 3.5. Match this target in the black command invocation. This was previously using Python 3.4 to workaround an upstream bug in black (see 58f374a), but this has been fixed in version 19.10b0.
1 parent 3314bae commit ef56872

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
style:
44
isort -rc debug_toolbar example tests
5-
black --target-version=py34 debug_toolbar example tests setup.py
5+
black --target-version=py35 debug_toolbar example tests setup.py
66
flake8 debug_toolbar example tests
77

88
style_check:

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ skip_install = true
4343
basepython = python3
4444
commands = make style_check
4545
deps =
46-
black
46+
black>=19.10b0
4747
flake8
4848
isort
4949
skip_install = true

0 commit comments

Comments
 (0)