mirror of
https://github.com/JockeTF/fimfarchive.git
synced 2024-11-26 06:57:59 +01:00
Run flake for each test environment
This commit is contained in:
parent
9e6d1b76c7
commit
a2473d31ae
1 changed files with 5 additions and 7 deletions
12
tox.ini
12
tox.ini
|
@ -1,27 +1,25 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist =
|
envlist =
|
||||||
py36
|
py36
|
||||||
flake
|
|
||||||
|
|
||||||
[travis]
|
[travis]
|
||||||
python =
|
python =
|
||||||
3.6: py36, flake
|
3.6: py36
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
commands = py.test
|
commands =
|
||||||
|
py.test
|
||||||
|
flake8 fimfarchive tests
|
||||||
deps =
|
deps =
|
||||||
-rrequirements.txt
|
-rrequirements.txt
|
||||||
pytest
|
pytest
|
||||||
|
flake8
|
||||||
|
|
||||||
[pytest]
|
[pytest]
|
||||||
addopts =
|
addopts =
|
||||||
--ignore venv
|
--ignore venv
|
||||||
--ignore tests/test_fetchers.py
|
--ignore tests/test_fetchers.py
|
||||||
|
|
||||||
[testenv:flake]
|
|
||||||
commands = flake8 fimfarchive tests
|
|
||||||
deps = flake8
|
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
filenames = *.py
|
filenames = *.py
|
||||||
exclude = fimfarchive/__init__.py
|
exclude = fimfarchive/__init__.py
|
||||||
|
|
Loading…
Reference in a new issue