How do I get PyLint to find namespace packages?
- by tjd.rodgers
I have a virtualenv where I've installed two packages, both using the company.project_name namespace. So the first package is importable from company.project_name.one and the second from company.project_name.two.
The challenge is that I can't seem to be able to run PyLint on either one of them. If I issue:
$ pylint company.project_name.one
I get:
************* Module company.project_name.one
F: 1, 0: No module named project_name.one(fatal)
I suspect that I'm probably doing something wrong. Is there a proper way to do this?
Edit: I should have made it clear that company.project_name and company are namespace packages and not regular packages.