Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(242)

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/png.py

Issue 1839193004: Run auto-formatter (autopep8) on webkitpy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/png.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/png.py b/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/png.py
index 205e754a9c35baa7640009dd01ba793bd6d4c577..1a0ecab0165d6bb270d8d1ca32be7ed10cb8312a 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/png.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/png.py
@@ -31,6 +31,7 @@ from webkitpy.common import read_checksum_from_png
from webkitpy.common.system.systemhost import SystemHost
from webkitpy.common.checkout.scm.detection import SCMDetector
+
class PNGChecker(object):
"""Check svn:mime-type for checking style"""
@@ -49,4 +50,5 @@ class PNGChecker(object):
if self._fs.exists(self._file_path) and self._file_path.endswith("-expected.png"):
with self._fs.open_binary_file_for_reading(self._file_path) as filehandle:
if not read_checksum_from_png.read_checksum(filehandle):
- self._handle_style_error(0, 'image/png', 5, "Image lacks a checksum. Generate pngs using run-webkit-tests to ensure they have a checksum.")
+ self._handle_style_error(
+ 0, 'image/png', 5, "Image lacks a checksum. Generate pngs using run-webkit-tests to ensure they have a checksum.")

Powered by Google App Engine
This is Rietveld 408576698