changeset 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 e62ee19003c6
children 1f7d8cc15805
files MoinMoin/themes/basic/static/custom-less/moin-variables.less MoinMoin/themes/basic/static/custom-less/theme.less contrib/pep8/coding_std.py docs/admin/configure.rst
diffstat 4 files changed, 12 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/basic/static/custom-less/moin-variables.less	Sun Sep 21 12:34:14 2014 -0700
+++ b/MoinMoin/themes/basic/static/custom-less/moin-variables.less	Tue Sep 23 09:22:54 2014 -0700
@@ -1,8 +1,8 @@
 
 // Diffs
 // -------------------------
-@moin-diff-removed:		 #ffdddd;
-@moin-diff-added:		 #ccffcc;
+@moin-diff-removed:         #ffdddd;
+@moin-diff-added:           #ccffcc;
 
 
 // Links
@@ -13,9 +13,9 @@
 
 // Moin-Inverted Navbar
 //----------------------
-@moin-navbar-inverse-color:					#205081;
-@moin-navbar-inverse-bgcolor:				darken(@moin-navbar-inverse-color, 5%);
-@moin-navbar-inverse-textcolor:				lighten(@moin-navbar-inverse-color, 55%);
+@moin-navbar-inverse-color:                    #205081;
+@moin-navbar-inverse-bgcolor:                  darken(@moin-navbar-inverse-color, 5%);
+@moin-navbar-inverse-textcolor:                lighten(@moin-navbar-inverse-color, 55%);
 
 // Large screen / wide desktop
 @container-large-desktop:   1300px;
--- a/MoinMoin/themes/basic/static/custom-less/theme.less	Sun Sep 21 12:34:14 2014 -0700
+++ b/MoinMoin/themes/basic/static/custom-less/theme.less	Tue Sep 23 09:22:54 2014 -0700
@@ -325,7 +325,7 @@
   height: 100%;
 }
 // CSS definitions for Index UI borrowed from foobar and modernized theme
-#filter-btn { 
+#filter-btn {
   background-color: @bootstrap_default_blue;
   border-radius: 3px;
   display: inline;
@@ -333,7 +333,7 @@
   color: @white;
   margin-bottom: 10px;
 }
-.moin-contenttypes-wrapper { 
+.moin-contenttypes-wrapper {
 
   div {
     cursor: pointer;
@@ -348,7 +348,7 @@
       -moz-padding-start: 0px;
       overflow: hidden;
     }
-   
+
     li {
 
       list-style-type: none;
@@ -381,7 +381,7 @@
       float: none;
       display: block;
 
-      .filter-toggle, .filter-more { 
+      .filter-toggle, .filter-more {
         font-size: 1em;
         background-color: #eeeeee;
         border: 1px solid #dddddd;
@@ -707,7 +707,7 @@
   border: 1px solid transparent;
 }
 .ticket-query-button.active, .ticket-query-button:hover {
-  background: -webkit-linear-gradient(top, #cccccc 0, #dddddd 13%); 
+  background: -webkit-linear-gradient(top, #cccccc 0, #dddddd 13%);
   color: #333;
   box-sizing: border-box;
   border: 1px solid transparent;
--- 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
 
 
--- a/docs/admin/configure.rst	Sun Sep 21 12:34:14 2014 -0700
+++ b/docs/admin/configure.rst	Tue Sep 23 09:22:54 2014 -0700
@@ -1459,5 +1459,3 @@
 
 Please note that the logging configuration has to be a separate file, so don't
 try this in your wiki configuration file!
-
-