Python: Copy Python extractor to codeql repo

This commit is contained in:
Taus
2024-02-28 15:15:21 +00:00
parent 297a17975d
commit 6dec323cfc
369 changed files with 165346 additions and 0 deletions

15
python/extractor/tox.ini Normal file
View File

@@ -0,0 +1,15 @@
[tox]
envlist = py37, py38, py39, py310, py311, py312
minversion = 4.11.3
isolated_build = true
[testenv]
skip_install = true
allowlist_externals = poetry
commands_pre =
poetry env use -- {env_python}
poetry install
commands =
poetry run pytest tests/
setenv =
VIRTUALENV_DISCOVERY = pyenv