1
0
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:
Carlton Gibson
2022-02-02 11:36:57 +01:00
committed by Mariusz Felisiak
parent 6f185a53a2
commit ba94488196
9 changed files with 54 additions and 45 deletions

10
tox.ini
View File

@@ -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