Skip to content

Commit 164dd5c

Browse files
Fix pylint warning in bin/ and setup.py
1 parent 1736d3a commit 164dd5c

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

bin/pylint

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env python
2+
# pylint: disable=import-self
23
from pylint import run_pylint
34

45
run_pylint()

setup.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
#!/usr/bin/env python
3-
# pylint: disable=W0404,W0622,W0613
41
# Copyright (c) 2006, 2009-2010, 2012-2014 LOGILAB S.A. (Paris, FRANCE) <[email protected]>
52
# Copyright (c) 2010 Julien Jehannet <[email protected]>
63
# Copyright (c) 2012 FELD Boris <[email protected]>
@@ -26,16 +23,15 @@
2623
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
2724
# For details: https://github.com/PyCQA/pylint/blob/master/COPYING
2825

29-
"""Generic Setup script, takes package info from __pkginfo__.py file.
30-
"""
26+
"""Generic Setup script, takes package info from __pkginfo__.py file."""
27+
28+
# pylint: disable=import-outside-toplevel,arguments-differ,ungrouped-imports,exec-used
29+
3130
import os
3231
import sys
3332
from distutils.command.build_py import build_py
3433
from os.path import exists, isdir, join
3534

36-
__docformat__ = "restructuredtext en"
37-
38-
3935
try:
4036
from setuptools import setup
4137
from setuptools.command import easy_install as easy_install_lib
@@ -50,6 +46,7 @@
5046
easy_install_lib = None
5147

5248

49+
__docformat__ = "restructuredtext en"
5350
base_dir = os.path.dirname(__file__)
5451

5552
__pkginfo__ = {}

0 commit comments

Comments
 (0)