-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
67 lines (47 loc) · 1.17 KB
/
setup.cfg
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#
# Configuration for setuptools
#
[egg_info]
tag_build = .dev
tag_date = false
[sdist]
formats = zip
[bdist_wheel]
# If you set this to 1, make sure you have a proper Travis CI build matrix,
# and that your Trove classifiers state you support Python 2 and 3
universal = 1
[pytest]
norecursedirs = .* *.egg *.egg-info bin dist include lib local share static docs
python_files = tests/test_*.py
addopts = --spec
markers =
cli: command line interface integration tests.
integration: integration tests.
online: tests that need an Internet connection.
[flake8]
ignore = E124,E128
max-line-length = 132
# Tox configuration, for details see
#
# http://tox.testrun.org/
#
# $ . .env "--yes" "--develop"
# $ tox
[tox]
envlist = py34, flake8
[testenv]
basepython = python3.4
deps =
-r./dev-requirements.txt
[testenv:py34]
commands =
pytest -c {toxinidir}/setup.cfg --color=yes --cov=beetsplug \
--cov-config=coverage.cfg --cov-report=term --cov-report=html --cov-report=xml \
{posargs}
[testenv:flake8]
deps =
flake8==3.3.0
pep8==1.7.0
; for now just informational (exit-zero)
commands =
flake8 --count --statistics --exit-zero *.py