-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
39 lines (32 loc) · 765 Bytes
/
tox.ini
File metadata and controls
39 lines (32 loc) · 765 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[tox]
envlist = py37, lint
[testenv]
basepython = python3.7
deps =
pytest
pytest-cov
pytest-mock
pytest-console-scripts
wsgi_intercept
commands =
pytest --cov={envsitepackagesdir}/wentral --cov-report=term-missing tests
[testenv:lint]
skip_install = true
deps =
check-manifest
readme_renderer[md]
flake8
flake8-docstrings
flake8-commas
pep8-naming
git+https://gitlab.com/eyeo/auxiliary/eyeo-coding-style#egg=flake8-eyeo&subdirectory=flake8-eyeo
twine
commands =
check-manifest --ignore *.ini,tests/**,docs/**,*.yml,.*.json,*.sh,*.txt
python setup.py sdist
twine check dist/*
flake8 tests wentral setup.py
[flake8]
exclude = .tox,*.egg,build,yolo_v3.py
select = E,W,F
ignore = W503,W504