2013-01-30 18:35:12 -05:00
|
|
|
[aliases]
|
|
|
|
test = nosetests
|
|
|
|
|
2011-02-24 17:48:09 -05:00
|
|
|
[nosetests]
|
2013-01-30 18:35:12 -05:00
|
|
|
# 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
|
2013-01-05 15:00:34 -05:00
|
|
|
cover-package=nilmdb
|
2013-01-30 18:35:12 -05:00
|
|
|
cover-erase=1
|
|
|
|
# this works, puts html output in cover/ dir:
|
|
|
|
# cover-html=1
|
2013-01-05 14:52:06 -05:00
|
|
|
#debug=nose
|
|
|
|
#debug-log=nose.log
|
2013-01-30 18:35:12 -05:00
|
|
|
stop=1
|
2011-02-24 17:48:09 -05:00
|
|
|
verbosity=2
|
2013-01-06 19:25:07 -05:00
|
|
|
tests=tests
|
2013-02-21 18:04:21 -05:00
|
|
|
#tests=tests/test_threadsafety.py
|
2013-01-05 14:52:06 -05:00
|
|
|
#tests=tests/test_bulkdata.py
|
2012-12-31 17:17:57 -05:00
|
|
|
#tests=tests/test_mustclose.py
|
2012-12-31 15:52:28 -05:00
|
|
|
#tests=tests/test_lrucache.py
|
2013-01-01 23:46:54 -05:00
|
|
|
#tests=tests/test_cmdline.py
|
2012-08-09 13:53:01 -04:00
|
|
|
#tests=tests/test_layout.py
|
2012-11-29 01:25:51 -05:00
|
|
|
#tests=tests/test_rbtree.py
|
|
|
|
#tests=tests/test_interval.py
|
2012-11-29 15:35:11 -05:00
|
|
|
#tests=tests/test_rbtree.py,tests/test_interval.py
|
2012-11-28 20:57:23 -05:00
|
|
|
#tests=tests/test_interval.py
|
2012-12-11 18:08:00 -05:00
|
|
|
#tests=tests/test_client.py
|
2012-03-24 17:15:24 -04:00
|
|
|
#tests=tests/test_timestamper.py
|
2012-03-24 13:32:11 -04:00
|
|
|
#tests=tests/test_serializer.py
|
2012-05-23 15:08:59 -04:00
|
|
|
#tests=tests/test_iteratorizer.py
|
2012-03-22 18:06:08 -04:00
|
|
|
#tests=tests/test_client.py:TestClient.test_client_nilmdb
|
2013-01-05 14:52:06 -05:00
|
|
|
#tests=tests/test_nilmdb.py
|
2013-01-30 18:35:12 -05:00
|
|
|
#with-profile=1
|
2012-03-20 17:46:18 -04:00
|
|
|
#profile-sort=time
|
2012-03-22 18:06:08 -04:00
|
|
|
##profile-restrict=10 # doesn't work right, treated as string or something
|
2019-07-25 10:32:58 -04:00
|
|
|
|
|
|
|
[versioneer]
|
|
|
|
VCS=git
|
|
|
|
style=pep440
|
|
|
|
versionfile_source=nilmdb/_version.py
|
|
|
|
versionfile_build=nilmdb/_version.py
|
|
|
|
tag_prefix=nilmdb-
|
|
|
|
parentdir_prefix=nilmdb-
|
2019-08-30 15:34:52 -04:00
|
|
|
|
|
|
|
[flake8]
|
2020-08-06 23:10:51 -04:00
|
|
|
exclude=_version.py
|
2019-08-30 15:34:52 -04:00
|
|
|
extend-ignore=E731
|
2020-08-06 23:10:51 -04:00
|
|
|
per-file-ignores=__init__.py:F401,E402 \
|
|
|
|
serializer.py:E722 \
|
|
|
|
mustclose.py:E722 \
|
|
|
|
fsck.py:E266
|
2019-08-30 16:02:46 -04:00
|
|
|
|
|
|
|
[pylint]
|
2020-08-06 23:10:51 -04:00
|
|
|
ignore=_version.py
|
2019-08-30 16:02:46 -04:00
|
|
|
disable=C0103,C0111,R0913,R0914
|