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

Unified Diff: chrome/browser/web_dev_style/html_checker.py

Issue 2624873003: web_dev_style: Only run HTMLChecker on .html files (Closed)
Patch Set: simpler Created 3 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/web_dev_style/html_checker.py
diff --git a/chrome/browser/web_dev_style/html_checker.py b/chrome/browser/web_dev_style/html_checker.py
index 040a4c7103592b76669ceda921a94857da19cf73..2ab90e1fdaa3e8cc82327baf1113041c5337d1d9 100644
--- a/chrome/browser/web_dev_style/html_checker.py
+++ b/chrome/browser/web_dev_style/html_checker.py
@@ -91,6 +91,9 @@ class HtmlChecker(object):
file_filter=self.file_filter, include_deletes=False)
for f in affected_files:
+ if not f.LocalPath().endswith('.html'):
+ continue
+
errors = []
for line_number, line in f.ChangedContents():
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698