[tox] envlist = py3{7,8,9,10}-test skip_missing_interpreters = True isolated_build = True [testenv:isort] deps = isort commands = isort src/djlint skip_install: True [testenv:black] deps = black commands = black src/djlint skip_install: True [testenv:lint] deps = reformat flake8 flake8-bugbear flake8-docstrings flake8-rst-docstrings flake8-rst flake8-builtins pep8-naming flake8-comprehensions flake8-bandit flake8-eradicate flake8-pytest-style flake8-print flake8-simplify flake8-variables-names flake8-markdown pygments black pylint mypy types-PyYAML check-manifest commands = flake8 src/djlint black --fast --check src/djlint pylint src/djlint mypy src/djlint ; check-manifest -v skip_install: true [testenv] deps = pytest pytest-cov coverage commands = pytest --cov=src/djlint --cov-branch --cov-report xml:coverage.xml --cov-report term-missing {posargs:} skip_install: false