Run pre-commit during test
diff --git a/tox.ini b/tox.ini
index eb0a1f6..193d307 100644
--- a/tox.ini
+++ b/tox.ini
@@ -4,27 +4,20 @@
 envlist = py26,py27,py33,py34,pypy,pypy3
 
 [testenv]
-install_command = pip install --use-wheel {opts} {packages}
 deps = -rrequirements-dev.txt
-passenv = HOME HOMEPATH LANG
+passenv = HOME HOMEPATH PROGRAMDATA
 commands =
     coverage erase
     coverage run -m pytest {posargs:tests}
     coverage report --show-missing --fail-under 100
-    flake8 {[tox]project} testing tests setup.py
+    pre-commit install -f --install-hooks
+    pre-commit run --all-files
     pylint {[tox]project} testing tests setup.py
 
 [testenv:venv]
 envdir = venv-{[tox]project}
 commands =
 
-[testenv:docs]
-deps =
-    {[testenv]deps}
-    sphinx
-changedir = docs
-commands = sphinx-build -b html -d build/doctrees source build/html
-
 [flake8]
 max-line-length=131