Add flake8 and docs envs to tox.ini
[tox]
-envlist = py
+envlist = py,flake8,docs
minversion = 2.4.0
[testenv]
@@ -10,3 +10,18 @@ passenv = *
usedevelop = True
commands=
pytest --cov=lz4 --tb=long {posargs}
+
+[testenv:flake8]
+extras = flake8
+passenv = *
+commands =
+ flake8 lz4 setup.py tests
+
+[flake8]
+ignore = E501
+
+[testenv:docs]
+usedevelop = True
+extras = docs
+commands =
+ make -C docs doctest html
\ No newline at end of file
