-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.cfg
46 lines (39 loc) · 927 Bytes
/
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
[flake8]
exclude = docs/*
[tool:pytest]
python_files=test_*.py
testpaths=tests
filterwarnings =
ignore::UserWarning
[versioneer]
VCS = git
style = pep440
versionfile_source = src/noggin/_version.py
versionfile_build= noggin/_version.py
tag_prefix = v
[coverage:run]
omit = src/noggin/_version.py
# all of the following is the configuration for tox
[tox:tox]
envlist = py36, py37, coverage
[travis]
python =
3.6: py36
3.7: py37, coverage
[testenv]
setenv=
HYPOTHESIS_PROFILE=ci
passenv = DISPLAY
deps = -r requirements/test-requirements.txt
commands = pytest tests
[testenv:coverage]
passenv = DISPLAY CI TRAVIS TRAVIS_*
usedevelop = true
basepython = python3.7
deps = {[testenv]deps}
-r requirements/coverage-requirements.txt
coverage
pytest-cov
codecov
commands = pytest --cov-report term-missing --cov-config=setup.cfg --cov-fail-under=100 --cov=noggin tests
codecov