Initial commit

This commit is contained in:
Regen
2019-11-12 01:57:28 +09:00
commit b6916f1082
20 changed files with 1392 additions and 0 deletions

21
tox.ini Normal file
View File

@@ -0,0 +1,21 @@
[tox]
isolated_build = True
skipsdist = True
envlist = py36, py37, py38, lint
[testenv]
whitelist_externals = poetry
skip_install = true
commands_pre =
poetry install
commands =
poetry run pytest -sv tests
[testenv:lint]
whitelist_externals = poetry
skip_install = true
commands =
poetry run isort -c -rc src tests
poetry run yapf -d -r src tests
poetry run flake8
poetry run mypy src tests