-
Notifications
You must be signed in to change notification settings - Fork 16
/
setup.cfg
53 lines (48 loc) · 1.04 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
[behave]
junit = yes
junit_directory = tests/reports
paths = tests/acceptance
show_skipped = no
summary = yes
lang = en
[flake8]
max-line-length = 120
max-complexity = 10
exclude = build,dist,docs/conf.py,organice/migrations,*.egg-info,.eggs,.tox
ignore = F811
[pylint]
# Run with: pylint organice
disable = invalid-name,missing-docstring
ignore = migrations
ignore-docstrings = yes
output-format = colorized
reports = no
[pytest]
addopts = --basetemp=build --junitxml=tests/reports/unittests.xml --strict --verbose
[tox]
envlist = flake8,py27,py33,py34,behave,checkdocs
[testenv]
commands =
coverage run setup.py -q test -a tests/units
coverage report
coverage xml
deps =
coverage==3.7.1
[testenv:behave]
deps = behave-django
commands = python manage.py behave
[testenv:flake8]
deps = flake8
commands = flake8
[testenv:checkdocs]
deps =
collective.checkdocs
pygments
commands =
python setup.py -q sdist
python setup.py checkdocs
[run] # Test coverage
source = organice
omit = organice/migrations/*
[report]
show_missing = True