Skip to content

Commit

Permalink
🔧 add tox.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
yhino committed May 4, 2020
1 parent d4be4d2 commit 4a61aaa
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[tox]
isolated_build = true
envlist = black, flake8, py37

[testenv]
whitelist_externals = poetry
commands =
poetry install -v --no-root
poetry run pytest --verbose tests

[testenv:black]
deps = black
commands =
black --check .

[testenv:flake8]
deps = flake8
commands =
flake8 --version
flake8

0 comments on commit 4a61aaa

Please sign in to comment.