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

Side by Side Diff: third_party/pylint/pylint/__init__.py

Issue 1920403002: [content/test/gpu] Run pylint check of gpu tests in unittest instead of PRESUBMIT (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update path to LICENSE.txt of logilab/README.chromium Created 4 years, 7 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 unified diff | Download patch
« no previous file with comments | « third_party/pylint/pylint/LICENSE.txt ('k') | third_party/pylint/pylint/__main__.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2003-2012 LOGILAB S.A. (Paris, FRANCE).
2 # http://www.logilab.fr/ -- mailto:contact@logilab.fr
3 #
4 # This program is free software; you can redistribute it and/or modify it under
5 # the terms of the GNU General Public License as published by the Free Software
6 # Foundation; either version 2 of the License, or (at your option) any later
7 # version.
8 #
9 # This program is distributed in the hope that it will be useful, but WITHOUT
10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11 # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details
12 #
13 # You should have received a copy of the GNU General Public License along with
14 # this program; if not, write to the Free Software Foundation, Inc.,
15 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16 import sys
17
18 from .__pkginfo__ import version as __version__
19
20 def run_pylint():
21 """run pylint"""
22 from pylint.lint import Run
23 Run(sys.argv[1:])
24
25 def run_pylint_gui():
26 """run pylint-gui"""
27 try:
28 from pylint.gui import Run
29 Run(sys.argv[1:])
30 except ImportError:
31 sys.exit('tkinter is not available')
32
33 def run_epylint():
34 """run pylint"""
35 from pylint.epylint import Run
36 Run()
37
38 def run_pyreverse():
39 """run pyreverse"""
40 from pylint.pyreverse.main import Run
41 Run(sys.argv[1:])
42
43 def run_symilar():
44 """run symilar"""
45 from pylint.checkers.similar import Run
46 Run(sys.argv[1:])
OLDNEW
« no previous file with comments | « third_party/pylint/pylint/LICENSE.txt ('k') | third_party/pylint/pylint/__main__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698