Skip to content

Instantly share code, notes, and snippets.

@mhihasan
Created June 14, 2022 16:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mhihasan/b0b98b9fb065266c4cbfaa1a381e5f53 to your computer and use it in GitHub Desktop.
Save mhihasan/b0b98b9fb065266c4cbfaa1a381e5f53 to your computer and use it in GitHub Desktop.
[tox]
envlist = lint,py3{6,8,9}
skip_missing_interpreters = true
[testenv]
deps =
-r requirements/test.txt
py36: -r requirements/py36.txt
commands =
pytest {posargs:tests}
[testenv:lint]
deps =
-r requirements/lint.txt
commands =
flake8 src/ tests/
black --check --diff src/ tests/
mypy src/ tests/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment