-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
55 lines (50 loc) · 1.24 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
[bdist_wheel]
universal = 0
[flake8]
count = True
exclude =
# No need to traverse our git directory
.git,
# There's no value in checking cache directories
__pycache__,
# The conf file is mostly autogenerated, ignore it
docs/conf.py,
# The old directory contains Flake8 2.0
old,
# This contains our built documentation
build,
# This contains builds of flake8 that we don't want to check
dist,
# This contains local virtual environments
.venv*,.tox
ignore = C901,E121,E123,E126,E203,E226,E231,E24,E501,E704,W503,W504,W505
max-complexity = 20
max-doc-length = 130
max-line-length = 100
output-file = dev_flake8_report.txt
statistics = True
tee = True
[metadata]
description-file = README.md
[tox:tox]
envlist = py37,py38,py39
[testenv]
deps = -rrequirements_dev.txt
commands = pytest
[tool:pytest]
addopts =
--junitxml=junit/test-results.xml
--cov-config=.coveragerc
--cov=isogeo_pysdk
--cov-report=xml
--cov-report=html
--cov-append tests
--ignore=tests/_wip
--maxfail=3
--reruns 2
--reruns-delay 1
junit_family = xunit2
minversion = 5.0
norecursedirs = .* build dev development dist docs CVS fixtures _darcs {arch} *.egg venv _wip
python_files = test_*.py
testpaths = tests