Add a function to search for pyproject.toml in a project root by Felixoid · Pull Request #16965 · python/mypy (original) (raw)

(Explain how this PR changes mypy.)

Here's a solution to fix #10613. The tests are covered.

It adds the functionality of searching pyproject.toml recursively from the current directory up to a project root (directory with either .git or .hg) to mypy