/
githubmirror
/
setools
Обзор
Документация
Войти
/
githubmirror
/
setools
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
tox.ini
61 строка
2 KB
Chris PeBenito
Change to standalone FastMCP.
22 июл 2026, 19:14
Не верифицирован
22 июл 2026, 19:14
7a23b99
Код
Авторство
О чём код?
[tox] minversion = 2.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 setools-mcp --statistics [testenv:coverage] #setenv = SETOOLS_COVERAGE = 1 passenv = {[testenv]passenv} deps = {[testenv]deps} coverage[toml]>=6.0 commands_pre = coverage --version coverage erase {[testenv]commands_pre} commands = coverage run --source=setools,setoolsgui -m pytest {posargs} tests coverage report [testenv:lint] passenv = {[testenv]passenv} deps = {[testenv]deps} pylint>=2.8.0 commands_pre = pylint --version {[testenv]commands_pre} commands = pylint -E setools setoolsgui tests seinfo seinfoflow sedta sesearch sediff sechecker apol setools-mcp [testenv:mypy] deps = {[testenv]deps} types-setuptools mypy>=1.6.0 commands_pre = mypy --version commands = mypy -p setools -p setoolsgui -p tests mypy --scripts-are-modules seinfo seinfoflow sedta sesearch sediff sechecker apol setools-mcp [testenv:install] deps = {[testenv]deps} allowlist_externals = find commands = {envpython} -m pip install --use-pep517 --root {envtmpdir}/setools . find {envtmpdir}/setools [testenv] passenv = USERSPACE_SRC DISPLAY XAUTHORITY deps = networkx>=2.6 cython>=0.29.14 fastmcp>=2.0 pytest>=6.0 PyQt6>=6.0 pygraphviz pytest-qt pytest-xvfb setuptools;python_version>="3.12" commands_pre = {envpython} setup.py build_ext -i commands = {envpython} -m pytest {posargs} tests