-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathsetup.cfg
56 lines (51 loc) · 1.08 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
[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
py{27,34,35}
# behave
readme
[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 =
# 1. create demo/test project
# 2. run python manage.py behave
true
[testenv:flake8]
deps = flake8
commands = flake8
[testenv:readme]
deps = readme_renderer
commands = python setup.py check --restructuredtext --strict
[run] # Test coverage
source = organice
omit = organice/migrations/*
[report]
show_missing = True