Closed elenakrittik closed 11 months ago
From a quick look, maybe this is the only place that needs patching…
…and maybe an additional test.
Okay, but I think it should be done via a flag of some sort. Maybe a knob where you can specify the file extensions you'd like formatted?
@bwendling is that really necessary?
If the only time there'd be a .pyi
file is for type stubs, then I suppose not.
@bwendling cool! :+1:
Thank you!
.pyi
files (used primarily in type stubs) are also valid Python files, therefore it would be great if yapf would discover and format them automatically (like it currently does with.py
files).