1

Resolved

pylint does not respect search path

description

In the Azure SDK, I’m getting warnings that pylint is not able to import azure modules. It’s causing it to report a lot of warnings because it doesn’t have enough info on base classes etc, since it can’t import them.

Here’s the layout of files (as it is in TFS):
setup.py
README.md
azure/
azure/azure.pyproj
azure/__init__.py
azure/http/
azure/http/__init__.py
azure/http/batchclient.py
azure/http/httpclient.py
tests/azuretests.pyproj
tests/test_blobservice.py
My search path in azure/azure.pyproj is set to: ..

From azure/http/batchclient.py, an example of an import that pylint couldn’t do:
from azure.http import HTTPError, HTTPResponse
where HTTPError and HTTPResponse are defined in azure/http/__init__.py

comments