-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix black configuration #769
Conversation
…t supported Python version that libcst can be run on
…nored by black This is due to black's file exclusion mechanism is a file-system-unaware pure-string-based pattern match. We need to prepend "^/" to specify that we are referring to the root-level "native/" folder. Yeah, I know this looks strange, but blame black for it :) . See https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#configuration-format for further reference.
…ular expression in TOML format, because in this way it doesn't perform any escaping
The CI error is due to a unit test The formatter error turns out to be a total unfortunate incident, relying on black incidentally picking up the target version configuration (i.e., "py36") in our own This is so scary in many ways :-) . I think we can all agree on that this unit test is problematic, and needs some proper fix ? |
For the record, another PR #771 has been opened to address the CI errors we see here. |
Now I am going to merge #771 into us here, so that we can have an all-green CI pass. |
I believe the CI error is GitHub's fault, not ours :-) |
Thanks! |
No description provided.