[tox] envlist = py35, pep8 [testenv] deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt setenv= PYTHONWARNING=all commands= pytest \ {posargs} [testenv:pep8] commands = flake8 {posargs} [flake8] # NOTE(Bryan Strassner) ignoring F841 because of the airflow example pattern # of naming variables even if they aren't used for DAGs and Operators. # Doing so adds readability and context in this case. ignore=E302,H306,D100,D101,D102,F841 # NOTE(Bryan Strassner) excluding 3rd party code that is brought into the # codebase. exclude=*plugins/rest_api_plugin.py,*lib/python*,*egg,.git*,*.md,.tox*