From 164dd5c8c210d05981e06e778f8c3da11de59101 Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Mon, 14 Dec 2020 13:47:52 +0100 Subject: Fix pylint warning in bin/ and setup.py --- setup.py | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 600977fd6..6c2eaba3f 100644 --- a/setup.py +++ b/setup.py @@ -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) # Copyright (c) 2010 Julien Jehannet # Copyright (c) 2012 FELD Boris @@ -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__ = {} -- cgit v1.2.1