autopep8: F841 undefined name
Special cases:
- `long` and `unicode` no longer exist in python 3. I added a "# noqa"
comment to avoid warnings.
- `cmp` method no longer exist in python 3. It was used in the
`test/unittest_analyze.py` file in the __cmp__ method. It appears that
when this method is removed, all the tests are still valid. Therefore I
dropped it.
[tox]
envlist=py27,py3,flake8
[testenv]
deps =
pytest
py27: unittest2 >= 0.7
commands = {envpython} -m pytest {posargs:test}
[testenv:flake8]
basepython = python3
deps =
flake8
commands = flake8 {posargs:--ignore=E501,E741,F403,F405,F811,E123,E226,W503,E241,W504,E126,E121}
[pytest]
python_files = *test_*.py
[flake8]
max-line-length = 100