Jim Paris
cfc66b6847
This found a small number of real bugs too, for example, this one that looked weird because of a 2to3 conversion, but was wrong both before and after: - except IndexError as TypeError: + except (IndexError, TypeError):
40 lines
798 B
INI
40 lines
798 B
INI
[aliases]
|
|
test = nosetests
|
|
|
|
[nosetests]
|
|
# Note: values must be set to 1, and have no comments on the same line,
|
|
# for "python setup.py nosetests" to work correctly.
|
|
nocapture=1
|
|
# Comment this out to see CherryPy logs on failure:
|
|
nologcapture=1
|
|
with-coverage=1
|
|
cover-inclusive=1
|
|
cover-package=nilmtools
|
|
cover-erase=1
|
|
# this works, puts html output in cover/ dir:
|
|
# cover-html=1
|
|
# need nose 1.1.3 for this:
|
|
# cover-branches=1
|
|
#debug=nose
|
|
#debug-log=nose.log
|
|
stop=1
|
|
verbosity=2
|
|
tests=tests
|
|
|
|
[versioneer]
|
|
VCS=git
|
|
style=pep440
|
|
versionfile_source=nilmtools/_version.py
|
|
versionfile_build=nilmtools/_version.py
|
|
tag_prefix=nilmtools-
|
|
parentdir_prefix=nilmtools-
|
|
|
|
[flake8]
|
|
exclude=_version.py
|
|
extend-ignore=E731
|
|
per-file-ignores=math.py:F403,F405
|
|
|
|
[pylint]
|
|
ignore=_version.py
|
|
disable=C0103,C0111,R0913,R0914
|