aboutsummaryrefslogtreecommitdiffstats
path: root/dodo.py
diff options
context:
space:
mode:
Diffstat (limited to 'dodo.py')
-rw-r--r--dodo.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/dodo.py b/dodo.py
index 3d5d070..82cd365 100644
--- a/dodo.py
+++ b/dodo.py
@@ -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/"],
}