Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix misdetection of project root with
--stdin-filename
There are a number of places this behaviour could be patched, for instance, it's quite tempting to patch it in `get_sources`. However I believe we generally have the invariant that project root contains all files we want to format, in which case it seems prudent to keep that invariant. Fixes psf#3207
- Loading branch information