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
|
# "I" Informational noise
|
||||||
locally-disabled,
|
locally-disabled,
|
||||||
# "E" Error for important programming issues (likely bugs)
|
# "E" Error for important programming issues (likely bugs)
|
||||||
import-error,
|
|
||||||
method-hidden,
|
method-hidden,
|
||||||
misplaced-bare-raise,
|
misplaced-bare-raise,
|
||||||
no-member,
|
no-member,
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
# pylint: disable=no-name-in-module
|
# pylint: disable=no-name-in-module,import-error
|
||||||
from distutils.command import install
|
from distutils.command import install
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
# pylint: disable=import-error
|
||||||
from distutils.dist import Distribution
|
from distutils.dist import Distribution
|
||||||
import os
|
import os
|
||||||
from subprocess import call
|
from subprocess import call
|
||||||
|
|
Loading…
Reference in New Issue