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:
parent
6ce323307d
commit
3143edef01
@ -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,
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user