Commits

Anonymous committed 341a36d

[svn] make check.

  • Participants
  • Parent commits 88fc8af
  • Branches trunk

Comments (0)

Files changed (6)

File pygments/formatter.py

         self.style = _lookup_style(options.get('style', 'default'))
         self.full  = get_bool_opt(options, 'full', False)
         self.title = options.get('title', '')
-        self.encoding = options.get('encoding', 'latin1') 
+        self.encoding = options.get('encoding', 'latin1')
         self.options = options
 
     def get_style_defs(self, arg=''):

File pygments/formatters/bbcode.py

         self._code = get_bool_opt(options, 'codetag', False)
         self._mono = get_bool_opt(options, 'monofont', False)
 
-        self.styles = {} 
+        self.styles = {}
         self._make_styles()
 
     def _make_styles(self):

File pygments/lexer.py

     ``encoding``
         If given, must be an encoding name. This encoding will be used to
         convert the input string to Unicode, if it is not already a Unicode
-        string. The default is to use latin1 (default: 'latin1'). 
+        string. The default is to use latin1 (default: 'latin1').
     """
 
     #: Name of the lexer

File tests/test_basic_api.py

 # -*- coding: utf-8 -*-
 """
     Pygments basic API tests
-    ~~~~~~~~~~~~~~~~~~~~~~~
+    ~~~~~~~~~~~~~~~~~~~~~~~~
 
     :copyright: 2006 by Georg Brandl.
-    :license: GNU GPL, see LICENSE for more details.
+    :license: GNU LGPL, see LICENSE for more details.
 """
 
 import unittest

File tests/test_cmdline.py

 
 def run_cmdline(*args):
     saved_stdout = sys.stdout
-    saved_stderr = sys.stderr 
+    saved_stderr = sys.stderr
     new_stdout = sys.stdout = StringIO.StringIO()
     new_stderr = sys.stderr = StringIO.StringIO()
     try:
         from pygments.lexers import PythonLexer
         from pygments.formatters import HtmlFormatter
         filename = os.path.join(testdir, testfile)
-        code = file(filename).read() 
+        code = file(filename).read()
 
         output = highlight(code, PythonLexer(), HtmlFormatter())
 

File tests/test_examplefiles.py

 # -*- coding: utf-8 -*-
 """
     Pygments tests with example files
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
     :copyright: 2006 by Georg Brandl.
-    :license: GNU GPL, see LICENSE for more details.
+    :license: GNU LGPL, see LICENSE for more details.
 """
 
 import unittest