/
githubmirror
/
setools
Обзор
Документация
Войти
/
githubmirror
/
setools
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
4.4.3
tox.ini
60 строк
2 KB
Chris PeBenito
tox.ini: Change environments to use "python" instead of "py".
17 июл 2023, 23:51
17 июл 2023, 23:51
6425b45
Код
Авторство
О чём код?
[tox] minversion = 1.4 envlist = python3, pep8, lint, mypy [pycodestyle] max-line-length = 100 [testenv:pep8] deps = {[testenv]deps} pycodestyle commands_pre = pycodestyle --version commands = pycodestyle setools/ setoolsgui/ tests/ seinfo seinfoflow sedta sesearch sediff sechecker apol --statistics [testenv:coverage] setenv = SETOOLS_COVERAGE = 1 deps = {[testenv]deps} coverage>=4.0 commands_pre = coverage --version coverage erase {envpython} setup.py build_ext -i commands = coverage run -m pytest tests coverage report [testenv:lint] deps = {[testenv]deps} pylint>=2.8.0 commands_pre = pylint --version {envpython} setup.py build_ext -i commands = pylint -E --rcfile .pylintrc setools tests seinfo seinfoflow sedta sesearch sediff sechecker # pylint can't see all members introduced by PyQt uic pylint -E --rcfile .pylintrc --disable=no-member,import-error setoolsgui apol [testenv:mypy] deps = {[testenv]deps} mypy commands_pre = mypy --version commands = mypy -p setools mypy -p setoolsgui mypy seinfo mypy seinfoflow mypy sedta mypy sesearch mypy sediff mypy sechecker mypy apol [testenv:install] deps = {[testenv]deps} commands = {envpython} -m pip install --use-pep517 . [testenv] passenv = USERSPACE_SRC deps = networkx>=2.0 cython>=0.27 pytest python38: cython>=0.29.14 python39: networkx>=2.6 python39: cython>=0.29.14 commands_pre = {envpython} setup.py build_ext -i commands = pytest tests