OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 """Presubmit script for Chromium WebUI resources. | 5 """Presubmit script for Chromium WebUI resources. |
6 | 6 |
7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts | 7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts |
8 for more details about the presubmit API built into gcl/git cl, and see | 8 for more details about the presubmit API built into gcl/git cl, and see |
9 http://www.chromium.org/developers/web-development-style-guide for the rules | 9 http://www.chromium.org/developers/web-development-style-guide for the rules |
10 we're checking against here. | 10 we're checking against here. |
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
363 '%s:\n%s' % (f[0], '\n\n'.join(file_errors)))) | 363 '%s:\n%s' % (f[0], '\n\n'.join(file_errors)))) |
364 | 364 |
365 if results: | 365 if results: |
366 # Add your name if you're here often mucking around in the code. | 366 # Add your name if you're here often mucking around in the code. |
367 authors = ['dbeam@chromium.org'] | 367 authors = ['dbeam@chromium.org'] |
368 results.append(self.output_api.PresubmitNotifyResult( | 368 results.append(self.output_api.PresubmitNotifyResult( |
369 'Was the CSS checker useful? Send feedback or hate mail to %s.' % | 369 'Was the CSS checker useful? Send feedback or hate mail to %s.' % |
370 ', '.join(authors))) | 370 ', '.join(authors))) |
371 | 371 |
372 return results | 372 return results |
OLD | NEW |