-
-
Notifications
You must be signed in to change notification settings - Fork 202
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
[Feature] add option to return forward slashes on windows instead of backslash #2044
Comments
Thanks for reporting this issue, don't forget to star this project if you haven't already to help us reach a wider audience. |
@jackton1 can you explain why do you see this as a feature and not a bug? For me this is effectively a bug, as the paths on windows runners are formatted incorrectly and need to be postprocessed to replace |
@rantoniuk Windows operating systems use the backslash |
HI @rantoniuk, you can now set the |
Is there an existing issue for this?
Does this issue exist in the latest version?
Describe the bug?
It seems like a regression for #340. I have this:
When ran on a windows runner, I see backslashes for directories instead of forward slashes in
List all changed files
output. Then theblack
job fails because it misinterprets the backslashes as escapes on Windows.To Reproduce
As above.
What OS are you seeing the problem on?
windows-latest or windows-2022
Expected behavior?
Forward slashes should be used always in the output - see e.g.
https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#include
Relevant log output
Has all relevant logs been included?
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: