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

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

Issue 585053003: web_dev_style: enhance <include> presubmit to account for (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « chrome/browser/test_presubmit.py ('k') | 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/resource_checker.py
diff --git a/chrome/browser/web_dev_style/resource_checker.py b/chrome/browser/web_dev_style/resource_checker.py
index 860d88c6c305b11d548c7f4a380ff812aeefb5d0..256676fe2e94716e62c6895a20472eb22fc054bb 100644
--- a/chrome/browser/web_dev_style/resource_checker.py
+++ b/chrome/browser/web_dev_style/resource_checker.py
@@ -17,7 +17,7 @@ class ResourceChecker(object):
def IncludeCheck(self, line_number, line):
return regex_check.RegexCheck(self.input_api.re, line_number, line,
- "(</include>)", "</include> is unnecessary. Please remove.")
+ "(</include>|<include.*/>)", "Closing <include> tags is unnecessary.")
def RunChecks(self):
"""Check for violations of the Chromium web development style guide. See
« no previous file with comments | « chrome/browser/test_presubmit.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698