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/__init__.py

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

Powered by Google App Engine
This is Rietveld 408576698