Commits

Anonymous committed bfd9f6e

Pylint fixing.

Comments (0)

Files changed (2)

sphinx/builder.py

 from docutils.readers.doctree import Reader as DoctreeReader
 
 from sphinx import addnodes
-from sphinx.util import (get_matching_docs, mtimes_of_files,
-                         ensuredir, relative_uri, SEP, os_path)
+from sphinx.util import mtimes_of_files, ensuredir, relative_uri, SEP, os_path
 from sphinx.htmlhelp import build_hhx
 from sphinx.htmlwriter import HTMLWriter, HTMLTranslator, SmartyPantsHTMLTranslator
 from sphinx.latexwriter import LaTeXWriter
         self.finish()
         if self.app._warncount:
             self.info(bold('build succeeded, %s warning%s.' %
-                           (self.app._warncount, self.app._warncount != 1 and 's' or '')))
+                           (self.app._warncount,
+                            self.app._warncount != 1 and 's' or '')))
         else:
             self.info(bold('build succeeded.'))
 

sphinx/ext/coverage.py

             try:
                 self.c_regexes.append((name, re.compile(exp)))
             except Exception:
-                warnfunc('invalid regex %r in coverage_c_regexes' % exp)
+                self.warn('invalid regex %r in coverage_c_regexes' % exp)
 
         self.c_ignorexps = {}
         for (name, exps) in self.config.coverage_ignore_c_items.iteritems():
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.