diff options
| author | 2015-08-26 07:57:23 -0300 | |
|---|---|---|
| committer | 2015-08-26 07:57:23 -0300 | |
| commit | 70ceb871117ca811d63cb02671dc0fefc2700883 (patch) | |
| tree | 846133ea39797d2cd1101cff2ac0818167353490 /dodo.py | |
| parent | 8559119e2f45b7f6508282962c0430423bfab051 (diff) | |
| parent | 787b97a4cb24330b36f11297c6d3a7a473a907d0 (diff) | |
Merge tag 'upstream/7.6.4'
Upstream version 7.6.4
Diffstat (limited to 'dodo.py')
| -rw-r--r-- | dodo.py | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -21,7 +21,14 @@ def task_flake8(): """flake8 - static check for python files""" yield { 'name': os.path.join(os.getcwd(), 'nikola'), - 'actions': ['flake8 --ignore=E501 nikola/'], + 'actions': ['flake8 nikola/'], + } + +def task_pep257(): + """pep257 -- static check for docstring style""" + yield { + 'name': os.path.join(os.getcwd(), 'nikola'), + 'actions': ["pep257 --count --match-dir='(?!^\.)(?!data).*' nikola/"], } |
