[tox] envlist = py{37,38,39,310,311},style [testenv] commands = pip install -e . coverage run -m unittest discover -s {posargs:test} coverage xml skip_install = True deps = coverage>=7.2.1 pydot setenv = LANG=en_US.UTF-8 AWS_DEFAULT_REGION=us-east-1 [testenv:type] deps = mypy types-PyYAML types-regex commands = pip install -e . mypy [testenv:style] deps = black pylint flake8 bandit bandit[toml] isort commands = pip install -e . pylint src/cfnlint black --check src/ test/ flake8 src/ bandit -c pyproject.toml -r src/ isort --profile black src/cfnlint test/ -c