Commits

Georg Brandl committed b5c4a75

Make check.

Comments (0)

Files changed (8)

                                  master_package)
         text += '\n'
 
-    # build a list of directories that are packages (they contain an INITPY file)
+    # build a list of directories that are packages (contain an INITPY file)
     subs = [sub for sub in subs if path.isfile(path.join(root, sub, INITPY))]
     # if there are some package directories, add a TOC for theses subpackages
     if subs:

sphinx/ext/autodoc.py

         if isinstance(docstring, unicode):
             return [prepare_docstring(docstring, ignore)]
         elif docstring:
-            return [prepare_docstring(force_decode(docstring, encoding), ignore)]
+            return [prepare_docstring(force_decode(docstring, encoding),
+                                      ignore)]
         return []
 
     def process_doc(self, docstrings):

sphinx/ext/doctest.py

             self.total_failures += res_f
             self.total_tries += res_t
         if self.cleanup_runner.tries:
-            res_f, res_t = self.cleanup_runner.summarize(self._out, verbose=True)
+            res_f, res_t = self.cleanup_runner.summarize(self._out,
+                                                         verbose=True)
             self.cleanup_failures += res_f
             self.cleanup_tries += res_t
 

sphinx/search/en.py

 # -*- coding: utf-8 -*-
 """
-    sphinx.search_languages.en
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~
+    sphinx.search.en
+    ~~~~~~~~~~~~~~~~
 
     English search language: includes the JS porter stemmer.
 
     }
 
     // Step 2
-    re = /^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/;
+    re = /^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|\
+ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/;
     if (re.test(w)) {
       var fp = re.exec(w);
       stem = fp[1];
     }
 
     // Step 4
-    re = /^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/;
+    re = /^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|\
+iti|ous|ive|ize)$/;
     re2 = /^(.+?)(s|t)(ion)$/;
     if (re.test(w)) {
       var fp = re.exec(w);

sphinx/search/ja.py

 # -*- coding: utf-8 -*-
 """
-    sphinx.search_languages.ja
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~
+    sphinx.search.ja
+    ~~~~~~~~~~~~~~~~
 
     Japanese search language: includes routine to split words.
 

sphinx/themes/basic/genindex-single.html

 {% macro indexentries(firstname, links) %}
   <dt>
   {%- if links -%}
-    <a href="{{ links[0][1] }}">  
+    <a href="{{ links[0][1] }}">
     {%- if links[0][0] %}<strong>{% endif -%}
     {{ firstname|e }}
     {%- if links[0][0] %}</strong>{% endif -%}

sphinx/themes/basic/genindex.html

 {% macro indexentries(firstname, links) %}
   <dt>
   {%- if links -%}
-    <a href="{{ links[0][1] }}">  
+    <a href="{{ links[0][1] }}">
     {%- if links[0][0] %}<strong>{% endif -%}
     {{ firstname|e }}
     {%- if links[0][0] %}</strong>{% endif -%}

sphinx/writers/latex.py

                     self.body.append(r'\index{%s!%s%s}\index{%s!%s%s}' %
                                      (p1, p2, m,  p2, p1, m))
                 elif type == 'triple':
-                    p1, p2, p3 = map(self.encode, split_into(3, 'triple', string))
+                    p1, p2, p3 = map(self.encode,
+                                     split_into(3, 'triple', string))
                     self.body.append(
-                        r'\index{%s!%s %s%s}\index{%s!%s, %s%s}\index{%s!%s %s%s}' %
+                        r'\index{%s!%s %s%s}\index{%s!%s, %s%s}'
+                        r'\index{%s!%s %s%s}' %
                         (p1, p2, p3, m,  p2, p3, p1, m,  p3, p1, p2, m))
                 elif type == 'see':
                     p1, p2 = map(self.encode, split_into(2, 'see', string))
                     p1, p2 = map(self.encode, split_into(2, 'seealso', string))
                     self.body.append(r'\index{%s|see{%s}}' % (p1, p2))
                 else:
-                    self.builder.warn('unknown index entry type %s found' % type)
+                    self.builder.warn(
+                        'unknown index entry type %s found' % type)
             except ValueError, err:
                 self.builder.warn(str(err))
         raise nodes.SkipNode