26 lines
402 B
INI
26 lines
402 B
INI
[tox]
|
|
envlist =
|
|
py38
|
|
lint
|
|
sort
|
|
format
|
|
skip_missing_interpreters = True
|
|
isolated_build = True
|
|
|
|
[testenv]
|
|
|
|
[testenv:lint]
|
|
skipdist = True
|
|
deps = flake8
|
|
commands = flake8 {posargs} magic_app/
|
|
|
|
[testenv:sort]
|
|
skipdist = True
|
|
deps = isort
|
|
commands = isort {posargs:-rc -c} -sp setup.cfg magic_app/
|
|
|
|
[testenv:format]
|
|
skipdist = True
|
|
deps = black
|
|
commands = black {posargs:--check} magic_app/
|