Fix some pep8 errors, update tox.ini
Fixed E731, W503 and I201 pep8 errors.
Added flake8-import-order to test-requirements.txt to avoid
an "unknown option 'import-order-style' ignored" warning.
Removed {posargs} from flake8 invocation so it can be called
such as 'tox -e pep8 HEAD~1' in order to only run on files
changed in the top commit.
Removed py34, py27 and pypy from the tox.ini envlist since
there are no unit tests, and tox reports it skipped all tests.
Change-Id: I574cafe074befa59aaee44b092b011e27f5f4211
diff --git a/tox.ini b/tox.ini
index 06eda94..d966308 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
[tox]
minversion = 2.0
-envlist = py34,py27,pypy,pep8
+envlist = pep8
skipsdist = True
[testenv]
@@ -15,7 +15,7 @@
[testenv:pep8]
commands =
sh ./tools/misc-sanity-checks.sh
- flake8 {posargs}
+ flake8
whitelist_externals =
sh