17 lines
510 B
INI
17 lines
510 B
INI
[tox]
|
|
envlist = pep8
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
passenv = CI TRAVIS TRAVIS_*
|
|
deps =
|
|
-rrequirements.txt
|
|
-rrequirements_test.txt
|
|
basepython = python3.8
|
|
commands = py.test -vv --cov Pyfa tests2/
|
|
|
|
[testenv:pep8]
|
|
deps = flake8
|
|
# TODO: Remove E731 and convert lambdas to defs
|
|
commands = flake8 --exclude=.svn,CVS,.bzr,.hg,.git,__pycache__,venv,tests,.tox,build,dist,__init__.py,floatspin.py --ignore=E121,E126,E127,E128,E203,E731,F401,E722,E741 service gui eos utils config.py pyfa.py --max-line-length=165
|