hadialqattan / pycln

A formatter for finding and removing unused import statements.

Home Page:https://hadialqattan.github.io/pycln

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[FEATURE] Read from stdin

CrossNox opened this issue · comments

In order to add pycln as an ALE fixer using nvim, IIRC, I'd need pycln to be able to format files from stdin.

Very much like black does:

cat some_file.py | black -

Other than my niche use case, I think this would be a great addition for some other people.

Hi @CrossNox , it's a good idea, I will implement that as soon as possible...

I'm happy to see you around...Thank you.

@CrossNox if you don't mind, please try out the i117 branch and let me know if we are good to go.

@hadialqattan looks great, thanks! (Sorry for the delay)