diff contrib/pep8/coding_std.py @ 2793:5ab6c46a4b75

change coding-std to check .less files and ignore /docs/_build directory
author RogerHaase <haaserd@gmail.com>
date Tue, 23 Sep 2014 09:22:54 -0700
parents 6af6e61dc25f
children 5a49eeb1f307
line wrap: on
line diff
--- a/contrib/pep8/coding_std.py	Sun Sep 21 12:34:14 2014 -0700
+++ b/contrib/pep8/coding_std.py	Tue Sep 23 09:22:54 2014 -0700
@@ -22,7 +22,7 @@
 
 
 # file types to be processed
-SELECTED_SUFFIXES = set("py bat cmd html css js styl rst".split())
+SELECTED_SUFFIXES = set("py bat cmd html css js styl less rst".split())
 
 # stuff considered DOS/WIN
 WIN_SUFFIXES = set("bat cmd".split())
@@ -54,6 +54,7 @@
     for dir in level2_dirs:
         ignore_dirs.append((starting_dir, dir))
     ignore_dirs.append((starting_dir + os.sep + "MoinMoin", "translations"))
+    ignore_dirs.append((starting_dir + os.sep + "docs", "_build"))
     return ignore_dirs