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

Unified Diff: mojo/public/tools/bindings/pylib/mojom/parse/lexer.py

Issue 443293003: Mojo: Add PRESUBMIT.py to mojo/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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: mojo/public/tools/bindings/pylib/mojom/parse/lexer.py
diff --git a/mojo/public/tools/bindings/pylib/mojom/parse/lexer.py b/mojo/public/tools/bindings/pylib/mojom/parse/lexer.py
index f2bc1413f4eb4f031733e752f4f4fadd0a92d850..7cd61f9f5323c2c43792bac6c7c45b337d00a98b 100644
--- a/mojo/public/tools/bindings/pylib/mojom/parse/lexer.py
+++ b/mojo/public/tools/bindings/pylib/mojom/parse/lexer.py
@@ -6,9 +6,6 @@ import imp
import os.path
import sys
-# Disable lint check for finding modules:
-# pylint: disable=F0401
-
def _GetDirAbove(dirname):
"""Returns the directory "above" this file containing |dirname| (which must
also be "above" this file)."""
@@ -28,8 +25,6 @@ from ply.lex import TOKEN
from ..error import Error
-# Disable lint check for exceptions deriving from Exception:
-# pylint: disable=W0710
class LexError(Error):
"""Class for errors from the lexer."""

Powered by Google App Engine
This is Rietveld 408576698