add new root marker for python projects: pyproject.toml
As defined per
`pyproject.toml` is a file that could be used to define a python project.
It is already used by some tools like [poetry](https://poetry.eustace.io/)
or [black](https://black.readthedocs.io/en/stable/)
@@ -51,6 +51,7 @@ pub fn get_rootPath<'a>(
dir.join("setup.py").exists()
|| dir.join("Pipfile").exists()
|| dir.join("requirements.txt").exists()
+ || dir.join("pyproject.toml").exists()
}),
"c" | "cpp" => traverse_up(path, |dir| dir.join("compile_commands.json").exists()),
"cs" => traverse_up(path, is_dotnet_root),
