リビジョン | 4f2b59d2bb236e9d465ff07efd27ce06a3e467ea (tree) |
---|---|
日時 | 2019-08-28 02:38:16 |
作者 | ![]() |
コミッター | H. Turgut Uyar |
Remove explicit poetry install in tox
@@ -61,25 +61,35 @@ | ||
61 | 61 | isolated_build = True |
62 | 62 | |
63 | 63 | [testenv] |
64 | -whitelist_externals = poetry | |
64 | +deps = | |
65 | + pytest==5.1.1 | |
66 | + webtest==2.0.33 | |
67 | + lxml==4.4.1 | |
65 | 68 | commands = |
66 | - poetry install -v | |
67 | 69 | {posargs:pytest} |
68 | 70 | |
69 | 71 | [testenv:coverage] |
72 | +deps = | |
73 | + {[testenv]deps} | |
74 | + pytest-cov==2.7.1 | |
70 | 75 | commands = |
71 | - poetry install -v | |
72 | 76 | {posargs:pytest} --cov-report term-missing --cov=humphrey tests |
73 | 77 | |
74 | 78 | [testenv:style] |
79 | +deps = | |
80 | + flake8==3.7.8 | |
81 | + flake8-isort==2.7.0 | |
82 | + flake8-docstrings==1.3.1 | |
75 | 83 | commands = |
76 | - poetry install -v | |
77 | 84 | {posargs:flake8} humphrey |
78 | 85 | |
79 | 86 | [testenv:docs] |
87 | +deps = | |
88 | + sphinx==2.2.0 | |
89 | + sphinx_rtd_theme==0.4.3 | |
90 | + pygenstub==1.4.0 | |
80 | 91 | changedir = docs/ |
81 | 92 | commands = |
82 | - poetry install -v | |
83 | 93 | sphinx-build -b html source/ build/html/ |
84 | 94 | """ |
85 | 95 |