added black for lint check

This commit is contained in:
Yun Xu
2018-10-13 18:10:43 -07:00
parent aa9bf04dfe
commit 272f6e195d
3 changed files with 9 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
[tox]
envlist = py35, py36, py37, {py35,py36,py37}-no-ext, flake8, check
envlist = py35, py36, py37, {py35,py36,py37}-no-ext, lint, check
[testenv]
usedevelop = True
@@ -21,12 +21,14 @@ commands =
- coverage combine --append
coverage report -m
[testenv:flake8]
[testenv:lint]
deps =
flake8
black
commands =
flake8 sanic
black --check --verbose sanic
[testenv:check]
deps =