diff options
| author | 2014-03-09 03:14:40 +0100 | |
|---|---|---|
| committer | 2014-03-09 03:14:40 +0100 | |
| commit | fa50632a9d87c3989566fed3e49c160a132e0d14 (patch) | |
| tree | 81f58cc0dcfbb34710856b59c034bc47c53d91dc /dodo.py | |
| parent | 2828399ba5cbb14502b023d4de1ba02f13dd5055 (diff) | |
Imported Upstream version 6.4.0upstream/6.4.0
Diffstat (limited to 'dodo.py')
| -rw-r--r-- | dodo.py | 14 |
1 files changed, 5 insertions, 9 deletions
@@ -19,14 +19,10 @@ def recursive_glob(path, pattern): def task_flake8(): """flake8 - static check for python files""" - for fname in recursive_glob('.', '*.py'): - if fname.startswith('./cache'): - continue - yield { - 'name': fname, - 'actions': ['flake8 --ignore=E501 {0}'.format(fname)], - 'file_dep': [fname], - } + yield { + 'name': os.getcwd(), + 'actions': ['flake8 --ignore=E501 .'], + } def task_locale(): @@ -64,7 +60,7 @@ def task_test(): """run unit-tests using nose""" return { 'task_dep': ['locale'], - 'actions': ['nosetests'], + 'actions': ['nosetests --with-doctest --doctest-options=+NORMALIZE_WHITESPACE --logging-filter=-yapsy'], } |
