pylint: fix import-error

It seems pylint cannot handle distutils imports
and shows "import-error" error. I believe it sounds
reasonable to ignore this case.

Change-Id: Ia08b4fbf8c3270aa37cd88967add8258f6b26377
This commit is contained in:
Akihiro Motoki 2018-12-09 02:57:26 +09:00
parent 6ce323307d
commit 3143edef01
3 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,6 @@ disable=
# "I" Informational noise
locally-disabled,
# "E" Error for important programming issues (likely bugs)
import-error,
method-hidden,
misplaced-bare-raise,
no-member,

View File

@ -13,7 +13,7 @@
# License for the specific language governing permissions and limitations
# under the License.
# pylint: disable=no-name-in-module
# pylint: disable=no-name-in-module,import-error
from distutils.command import install

View File

@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# pylint: disable=import-error
from distutils.dist import Distribution
import os
from subprocess import call