1
0
mirror of synced 2025-12-30 12:04:43 -05:00
Files
airbyte/tools/tox_ci.ini
Serhii Chvaliuk 8b3c6861d1 pin flake8==4.0.1 (#15155)
Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>
2022-08-01 15:12:49 +03:00

38 lines
656 B
INI

[tox]
minversion = 1.9
skipsdist = True
recreate = True
envlist =
# list of all CI packages
ci_common_utils
ci_credentials
[base]
deps =
-e{toxinidir}/{envname}[tests]
pytest~=6.2.5
flake8==4.0.1
pyproject-flake8
[testenv]
# required for the `commands`.
changedir = {toxinidir}/{envname}
setupdir = {toxinidir}
usedevelop = False
deps =
{[base]deps}
setenv =
PYTHONPATH = {toxinidir}/{envname}:{toxinidir}/ci_common_utils
# add the quiet option
install_command = pip --quiet install {opts} {packages}
commands =
pflake8 --config {toxinidir}/../pyproject.toml {toxinidir}/{envname}
pytest