Use pylint 1.7.5 with fix for bad python3 import

Closes: https://pagure.io/freeipa/issue/7315
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Petr Cech <pcech@redhat.com>
This commit is contained in:
Christian Heimes 2017-12-19 09:48:29 +01:00
parent 1c9f0a4b19
commit b567f3afea
3 changed files with 4 additions and 4 deletions

View File

@ -9,5 +9,5 @@ ipapython == @VERSION@
ipaserver == @VERSION@
ipatests == @VERSION@
# we include some checks available only in pylint-1.7 and on
pylint >= 1.7
# upstream pylint 1.7.5 fixed bad python3 import of stat module
pylint >= 1.7.5

View File

@ -25,7 +25,7 @@ import io
import pwd
import grp
import re
import stat # pylint: disable=bad-python3-import
import stat
import tempfile
from tempfile import NamedTemporaryFile
import shutil

View File

@ -33,7 +33,7 @@ import fileinput
import sys
import tempfile
import shutil
import stat # pylint: disable=bad-python3-import
import stat
import traceback
import textwrap
from contextlib import contextmanager