ProjectRootManager.getContentSourceRoots() equivalent for PyCharm/PythonCore
I am developing a plugin to run PyLint directly from PyCharm but I don't know how to get the list of all the Python files in the project.
For Java projects I can simply use
final ProjectRootManager projectRootManager = ProjectRootManager.getInstance(project);
sourceRoots = projectRootManager.getContentSourceRoots()
Is there an equivalent for Python projects?
Also, is there a way to get all the Python files of a specific module?
Please sign in to leave a comment.
Bump? Is there a better place where to ask for help regarding the IDEA Platform SDK?