Skip to content

Instantly share code, notes, and snippets.

@kornicameister
Created March 31, 2019 19:35
Show Gist options
  • Save kornicameister/6862cbb0754afea809a5430c0438d3e7 to your computer and use it in GitHub Desktop.
Save kornicameister/6862cbb0754afea809a5430c0438d3e7 to your computer and use it in GitHub Desktop.
[testenv:yapf]
deps =
-r{toxinidir}/requirements/yapf.txt
commands =
{[testenv]commands}
yapf --diff --recursive {toxinidir}/ksc
[testenv:flake8]
deps =
-r{toxinidir}/requirements/flake8.txt
commands =
{[testenv]commands}
flake8 --config {toxinidir}/.flake8 {toxinidir}/ksc
[testenv:mypy]
deps =
-r{toxinidir}/requirements/mypy.txt
commands =
{[testenv]commands}
mypy --config-file {toxinidir}/mypy.ini {toxinidir}/ksc
[testenv:venv]
commands = {posargs}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment