mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Refs #33476 -- Adjusted docs and config files for Black.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
This commit is contained in:
committed by
Mariusz Felisiak
parent
6f185a53a2
commit
ba94488196
10
tox.ini
10
tox.ini
@@ -8,7 +8,8 @@ minversion = 3.18
|
||||
skipsdist = true
|
||||
envlist =
|
||||
py3
|
||||
flake8
|
||||
black
|
||||
flake8 >= 3.7.0
|
||||
docs
|
||||
isort >= 5.1.0
|
||||
|
||||
@@ -31,6 +32,13 @@ changedir = tests
|
||||
commands =
|
||||
{envpython} runtests.py {posargs}
|
||||
|
||||
[testenv:black]
|
||||
basepython = python3
|
||||
usedevelop = false
|
||||
deps = black
|
||||
changedir = {toxinidir}
|
||||
commands = black --check --diff .
|
||||
|
||||
[testenv:flake8]
|
||||
basepython = python3
|
||||
usedevelop = false
|
||||
|
||||
Reference in New Issue
Block a user