Commits

Georg Brandl committed 4f2d035

Satisfy "make check".

  • Participants
  • Parent commits b633616

Comments (0)

Files changed (8)

doc/ext/autosummary.rst

 .. rst:directive:: autosummary
 
    Insert a table that contains links to documented items, and a short summary
-   blurb (the first sentence of the docstring) for each of them.  
+   blurb (the first sentence of the docstring) for each of them.
 
    The :rst:dir:`autosummary` directive can also optionally serve as a
    :rst:dir:`toctree` entry for the included items. Optionally, stub
 Read the Docs
     http://readthedocs.org is a documentation hosting service based around Sphinx.
     They will host sphinx documentation, along with supporting a number of other
-    features including version support, PDF generation, and more. The `Getting 
+    features including version support, PDF generation, and more. The `Getting
     Started <http://read-the-docs.readthedocs.org/en/latest/getting_started.html>`_
     guide is a good place to start.
 
     creates a modules index (named modules.<suffix>).
 
     This is derived from the "sphinx-autopackage" script, which is:
-    Copyright 2008 Société des arts technologiques (SAT), http://www.sat.qc.ca/.
+    Copyright 2008 Société des arts technologiques (SAT), http://www.sat.qc.ca/
 
-    :copyright: 2007-2011 by the Sphinx team, see AUTHORS.
+    :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
     :license: BSD, see LICENSE for details.
 """
 import os
 
         if is_pkg:
             # we are in a package with something to document
-            if subs or len(py_files) > 1 or not shall_skip(path.join(root, INITPY)):
+            if subs or len(py_files) > 1 or not \
+                shall_skip(path.join(root, INITPY)):
                 subpackage = root[len(rootpath):].lstrip(path.sep).\
                     replace(path.sep, '.')
                 create_package_file(root, root_package, subpackage,
                       help='Generate a full project with sphinx-quickstart')
     parser.add_option('-H', '--doc-project', action='store', dest='header',
                       help='Project name (default: root module name)')
-    parser.add_option('-A', '--doc-author', action='store', dest='author', type='str',
+    parser.add_option('-A', '--doc-author', action='store', dest='author',
+                      type='str',
                       help='Project author(s), used when --full is given')
     parser.add_option('-V', '--doc-version', action='store', dest='version',
                       help='Project version, used when --full is given')

sphinx/builders/gettext.py

         )
         for textdomain, catalog in self.status_iterator(
                 self.catalogs.iteritems(), "writing message catalogs... ",
-                lambda (textdomain, _):darkgreen(textdomain), len(self.catalogs)):
+                lambda (textdomain, _): darkgreen(textdomain),
+                                        len(self.catalogs)):
 
             # noop if config.gettext_compact is set
             ensuredir(path.join(self.outdir, path.dirname(textdomain)))

sphinx/domains/cpp.py

             signode += nodes.Text(' : ')
             for base in cls.bases:
                 self.attach_modifiers(signode, base, 'private')
-                signode += nodes.emphasis(unicode(base.name), unicode(base.name))
+                signode += nodes.emphasis(unicode(base.name),
+                                          unicode(base.name))
                 signode += nodes.Text(', ')
             signode.pop()  # remove the trailing comma
 

sphinx/domains/python.py

             env.domaindata['py']['modules'][modname] = \
                 (env.docname, self.options.get('synopsis', ''),
                  self.options.get('platform', ''), 'deprecated' in self.options)
-            # make a duplicate entry in 'objects' to facilitate searching for the
-            # module in PythonDomain.find_obj()
+            # make a duplicate entry in 'objects' to facilitate searching for
+            # the module in PythonDomain.find_obj()
             env.domaindata['py']['objects'][modname] = (env.docname, 'module')
-            targetnode = nodes.target('', '', ids=['module-' + modname], ismod=True)
+            targetnode = nodes.target('', '', ids=['module-' + modname],
+                                      ismod=True)
             self.state.document.note_explicit_target(targetnode)
-            # the platform and synopsis aren't printed; in fact, they are only used
-            # in the modindex currently
+            # the platform and synopsis aren't printed; in fact, they are only
+            # used in the modindex currently
             ret.append(targetnode)
             indextext = _('%s (module)') % modname
             inode = addnodes.index(entries=[('single', indextext,

sphinx/quickstart.py

         do_prompt(d, 'ext_ifconfig', 'ifconfig: conditional inclusion of '
                   'content based on config values (y/N)', 'n', boolean)
     if 'ext_viewcode' not in d:
-        do_prompt(d, 'ext_viewcode', 'viewcode: include links to the source code '
-                  'of documented Python objects (y/N)', 'n', boolean)
+        do_prompt(d, 'ext_viewcode', 'viewcode: include links to the source '
+                  'code of documented Python objects (y/N)', 'n', boolean)
 
     if 'makefile' not in d:
         print '''

tests/test_intersphinx.py

         'http://docs.python.org/': inv_file,
         'py3k': ('http://docs.python.org/py3k/', inv_file),
         'repoze.workflow': ('http://docs.repoze.org/workflow/', inv_file),
-        'django-taggit': ('http://django-taggit.readthedocs.org/en/latest/', inv_file)
+        'django-taggit': ('http://django-taggit.readthedocs.org/en/latest/',
+                          inv_file)
     }
 
     app.config.intersphinx_cache_limit = 0