-
Notifications
You must be signed in to change notification settings - Fork 36
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
Black doesn't work when folder is opened as a symlink #446
Labels
triage-needed
Issue is not triaged.
Comments
ischurov
changed the title
Black doesn't work when folder is opened as symlink
Black doesn't work when folder is opened as a symlink
Feb 2, 2024
@ischurov you have to invoke it like this, and see if it works.
|
@karthiknadig no, it doesn't work, with the same error message:
|
This is a bug in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Type: Bug
I am using Remote Tunnels. On a remote system, I have a folder /vol/tcm10/ischurov/graphene-magnetic and a symlink to that folder in /home/ischurov/tcm10/graphene-magnetic. When I open the folder using a symlink, and try to format a file with black (e.g. on saving), I have the following:
When I invoke the command from the terminal, I get the following:
If I open the same folder by its real path, not a symlink, Black works without any problems.
The issue can possible be specific to either Remote Tunnels or Linux because I cannot reproduce it on my local Mac machine.
I can reproduce it with the pre-release (v2024.1.10331006) version of Black extension.
Extension version: 2024.1.10331006
VS Code version: Code 1.86.0 (05047486b6df5eb8d44b2ecd70ea3bdf775fd937, 2024-01-31T10:29:15.765Z)
OS version: Darwin x64 22.1.0
Modes:
Remote OS version: Linux x64 5.15.0-79-generic
Remote OS version: Linux x64 5.15.0-79-generic
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: