diff contrib/pep8/coding_std.py @ 2790:6af6e61dc25f

change coding-std.py to inspect docs/*.rst; mass changes to rst files to remove trailing blanks, tabs, etc
author RogerHaase <haaserd@gmail.com>
date Sun, 21 Sep 2014 08:53:23 -0700
parents f8e28b0f4c36
children 5ab6c46a4b75
line wrap: on
line diff
--- a/contrib/pep8/coding_std.py	Fri Sep 19 10:21:07 2014 -0700
+++ b/contrib/pep8/coding_std.py	Sun Sep 21 08:53:23 2014 -0700
@@ -22,7 +22,7 @@
 
 
 # file types to be processed
-SELECTED_SUFFIXES = set("py bat cmd html css js styl".split())
+SELECTED_SUFFIXES = set("py bat cmd html css js styl rst".split())
 
 # stuff considered DOS/WIN
 WIN_SUFFIXES = set("bat cmd".split())
@@ -50,7 +50,7 @@
     """Return a list of directories that will not be processed."""
     # list format: [(fully qualified directory name, sub-directory name), ... ]
     ignore_dirs = []
-    level2_dirs = ".hg contrib dlc docs env moin.egg-info wiki".split()
+    level2_dirs = ".hg contrib dlc env moin.egg-info wiki".split()
     for dir in level2_dirs:
         ignore_dirs.append((starting_dir, dir))
     ignore_dirs.append((starting_dir + os.sep + "MoinMoin", "translations"))