diff options
-rwxr-xr-x | bin/pylint | 1 | ||||
-rw-r--r-- | setup.py | 13 |
2 files changed, 6 insertions, 8 deletions
diff --git a/bin/pylint b/bin/pylint index 162e96d40..f2bbcc2ad 100755 --- a/bin/pylint +++ b/bin/pylint @@ -1,4 +1,5 @@ #!/usr/bin/env python +# pylint: disable=import-self from pylint import run_pylint run_pylint() @@ -1,6 +1,3 @@ -# -*- coding: utf-8 -*- -#!/usr/bin/env python -# pylint: disable=W0404,W0622,W0613 # Copyright (c) 2006, 2009-2010, 2012-2014 LOGILAB S.A. (Paris, FRANCE) <contact@logilab.fr> # Copyright (c) 2010 Julien Jehannet <julien.jehannet@logilab.fr> # Copyright (c) 2012 FELD Boris <lothiraldan@gmail.com> @@ -26,16 +23,15 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html # For details: https://github.com/PyCQA/pylint/blob/master/COPYING -"""Generic Setup script, takes package info from __pkginfo__.py file. -""" +"""Generic Setup script, takes package info from __pkginfo__.py file.""" + +# pylint: disable=import-outside-toplevel,arguments-differ,ungrouped-imports,exec-used + import os import sys from distutils.command.build_py import build_py from os.path import exists, isdir, join -__docformat__ = "restructuredtext en" - - try: from setuptools import setup from setuptools.command import easy_install as easy_install_lib @@ -50,6 +46,7 @@ except ImportError: easy_install_lib = None +__docformat__ = "restructuredtext en" base_dir = os.path.dirname(__file__) __pkginfo__ = {} |