add usage and blacken-docs
+# usage:
+# tox --> default, runs pytest
+# tox -e fmt --> format the code and README
+# tox -e lint --> check code formating and lint the code
+
[tox]
envlist = py3
isolated_build = True
@@ -16,16 +21,18 @@ skip_install = True
commands =
isort .
black .
+ blacken-docs README.md
deps =
black
isort
+ blacken-docs
[testenv:lint]
skip_install = True
commands =
isort --check .
- flake8 .
black --check .
+ flake8 .
deps =
black
flake8
