Skip to content
This repository has been archived by the owner on Apr 26, 2022. It is now read-only.

Warning at blackify step #10

Open
coderfromhere opened this issue Sep 24, 2020 · 1 comment
Open

Warning at blackify step #10

coderfromhere opened this issue Sep 24, 2020 · 1 comment

Comments

@coderfromhere
Copy link
Contributor

coderfromhere commented Sep 24, 2020

Hi, I'm getting these warnings with an installable renderer:

[13:18:31] WARNING  Black failed to post-process file with an error: Cannot parse: 3:4: The client is provided with async and sync adapters.. Currently  blackify.py:20
                    it happens on non python files, you can safely ignore this message.                                                                                
           WARNING  Black failed to post-process file with an error: Cannot parse: 2:8: include README.rst CHANGES LICENSE. Currently it happens on non  blackify.py:20
                    python files, you can safely ignore this message.         

I think it's relatively easy to recursively filter non *.py files in the folder before feeding the stream to black, but I haven't looked at the post-processor API yet. Not critical though, just FYI to keep track of the things that could be improved.

@coderfromhere coderfromhere changed the title Warning during blackify Warning at blackify step Sep 24, 2020
@asyncee
Copy link
Owner

asyncee commented Sep 24, 2020

Hello, thank you for opening the ticket :) I know about this issue, but can not get my hands on it yet.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants