| OLD | NEW | 
|---|
| 1 # Copyright (C) 2009 Google Inc. All rights reserved. | 1 # Copyright (C) 2009 Google Inc. All rights reserved. | 
| 2 # Copyright (C) 2010 Chris Jerdonek (chris.jerdonek@gmail.com) | 2 # Copyright (C) 2010 Chris Jerdonek (chris.jerdonek@gmail.com) | 
| 3 # Copyright (C) 2010 ProFUSION embedded systems | 3 # Copyright (C) 2010 ProFUSION embedded systems | 
| 4 # | 4 # | 
| 5 # Redistribution and use in source and binary forms, with or without | 5 # Redistribution and use in source and binary forms, with or without | 
| 6 # modification, are permitted provided that the following conditions are | 6 # modification, are permitted provided that the following conditions are | 
| 7 # met: | 7 # met: | 
| 8 # | 8 # | 
| 9 #     * Redistributions of source code must retain the above copyright | 9 #     * Redistributions of source code must retain the above copyright | 
| 10 # notice, this list of conditions and the following disclaimer. | 10 # notice, this list of conditions and the following disclaimer. | 
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 137     # | 137     # | 
| 138     (["webkitpy/thirdparty/"], | 138     (["webkitpy/thirdparty/"], | 
| 139      ["-", | 139      ["-", | 
| 140       "+pep8/W191",  # Tabs | 140       "+pep8/W191",  # Tabs | 
| 141       "+pep8/W291",  # Trailing white space | 141       "+pep8/W291",  # Trailing white space | 
| 142       "+whitespace/carriage_return"]), | 142       "+whitespace/carriage_return"]), | 
| 143 | 143 | 
| 144     ([# Jinja templates: files have .cpp or .h extensions, but contain | 144     ([# Jinja templates: files have .cpp or .h extensions, but contain | 
| 145       # template code, which can't be handled, so disable tests. | 145       # template code, which can't be handled, so disable tests. | 
| 146       "Source/bindings/templates", | 146       "Source/bindings/templates", | 
| 147       "Source/core/scripts/templates"], | 147       "Source/build/scripts/templates"], | 
| 148      ["-"]), | 148      ["-"]), | 
| 149 | 149 | 
| 150     ([# IDL compiler reference output | 150     ([# IDL compiler reference output | 
| 151       # Conforming to style significantly increases the complexity of the code | 151       # Conforming to style significantly increases the complexity of the code | 
| 152       # generator and decreases *its* readability, which is of more concern | 152       # generator and decreases *its* readability, which is of more concern | 
| 153       # than style of the machine-generated code itself. | 153       # than style of the machine-generated code itself. | 
| 154       "Source/bindings/tests/results"], | 154       "Source/bindings/tests/results"], | 
| 155      ["-"]), | 155      ["-"]), | 
| 156 ] | 156 ] | 
| 157 | 157 | 
| (...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 734         checker = self._dispatcher.dispatch(file_path, | 734         checker = self._dispatcher.dispatch(file_path, | 
| 735                                             style_error_handler, | 735                                             style_error_handler, | 
| 736                                             min_confidence) | 736                                             min_confidence) | 
| 737 | 737 | 
| 738         if checker is None: | 738         if checker is None: | 
| 739             raise AssertionError("File should not be checked: '%s'" % file_path) | 739             raise AssertionError("File should not be checked: '%s'" % file_path) | 
| 740 | 740 | 
| 741         _log.debug("Using class: " + checker.__class__.__name__) | 741         _log.debug("Using class: " + checker.__class__.__name__) | 
| 742 | 742 | 
| 743         checker.check(lines) | 743         checker.check(lines) | 
| OLD | NEW | 
|---|