* Create a custom class to handle aborting 204 properly. If this isn't covered the server will send a 500 due to a python exception * Moved py.test configuration under tool:pytest, this was causing a warning. This is new to 3.0.1 which is now the pinned version * Unittest for puppetboard.utils
26 lines
429 B
INI
26 lines
429 B
INI
[wheel]
|
|
universal = 1
|
|
|
|
[bdist_rpm]
|
|
build_requires = python-setuptools
|
|
requires = python-flask
|
|
python-flask-wtf
|
|
python-pypuppetdb
|
|
[pep8]
|
|
max-line-length=100
|
|
exclude=venv,dist,build
|
|
ignore=E402
|
|
|
|
[nosetests]
|
|
with-coverage = 1
|
|
with-xunit = 1
|
|
cover-package = puppetboard
|
|
|
|
[flake8]
|
|
exclude=venv
|
|
|
|
[tool:pytest]
|
|
addopts = --cov=puppetboard --cov-report=term-missing
|
|
norecursedirs = docs .tox venv
|
|
pep8ignore = E402
|