Changeset 56942 in webkit
- Timestamp:
- Apr 1, 2010 3:39:51 PM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r56937 r56942 1 2010-04-01 Eric Seidel <eric@webkit.org> 2 3 Unreviewed, only ignoring chatty style errors. 4 5 check-webkit-style: WebKit needs a python style checker 6 https://bugs.webkit.org/show_bug.cgi?id=33639 7 8 Remove the 79 char line limit by ignoring 9 pep8/E501. Because we have our own report_error 10 implementation we have to ignore E501 by hand 11 instead of passing --ignore=E501. 12 13 Right now over 1400 lines of our existing python 14 fail E501 so this rule just generates needless noise. 15 The rest of WebKit has no wrapping rule so it makes 16 little sense for our Python to differ here. 17 18 * Scripts/webkitpy/style/processors/python.py: 19 1 20 2010-04-01 Adam Barth <abarth@webkit.org> 2 21 -
trunk/WebKitTools/Scripts/webkitpy/style/processors/python.py
r56899 r56942 37 37 # Initialize pep8.options, which is necessary for 38 38 # Checker.check_all() to execute. 39 39 40 pep8.process_options(arglist=[self._file_path]) 40 41 41 checker = pep8.Checker(self._file_path) 42 42 … … 48 48 pep8_message = text[5:] 49 49 50 # We ignore PEP8/E501 -- line limit of 79 characters. Most of our 51 # python code fails E501 and the rest of WebKit has no wrap limit. 52 if pep8_code == "E501": 53 return 54 50 55 category = "pep8/" + pep8_code 51 56
Note: See TracChangeset
for help on using the changeset viewer.