[tox] # required because we use pyproject.toml isolated_build = true envlist = py37, py38, py39, lint, checkdeps # only checks python versions installed locally skip_missing_interpreters = true [testenv:lint] # lints python code in src and tests basepython = python3.9 deps = -rrequirements.txt commands = black etl application.py config.py utils.py flake8 etl application.py config.py utils.py # pylint etl application.py config.py utils.py [testenv:checkdeps] # checks the dependencies for security vulnerabilities and open source licenses deps = -rrequirements.txt commands = safety check liccheck