You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using ruff to format Python code after it's been edited and when it's run as a file watcher by PyCharm, the end of the file is incorrectly removed at times. This has been happening to me for the entire time we've been using ruff and I thought it was a bug with PyCharm or ruff, but another person on my team just updated their Docker for the first time in a while and it started happening to them, so I think it's a file mounting problem
Reproduce
Setup Watcher to run ruff on file save in PyCharm
Edit a file
Observe the watcher running
Notice that sometimes the contents at the end of the file are remove incorrectly
Description
I'm using
ruff
to format Python code after it's been edited and when it's run as a file watcher by PyCharm, the end of the file is incorrectly removed at times. This has been happening to me for the entire time we've been usingruff
and I thought it was a bug with PyCharm orruff
, but another person on my team just updated their Docker for the first time in a while and it started happening to them, so I think it's a file mounting problemReproduce
ruff
on file save in PyCharmExpected behavior
Mounted file doesn't lose data at the end
docker version
Client: Cloud integration: v1.0.35+desktop.13 Version: 26.1.1 API version: 1.45 Go version: go1.21.9 Git commit: 4cf5afa Built: Tue Apr 30 11:44:56 2024 OS/Arch: darwin/amd64 Context: desktop-linux Server: Docker Desktop 4.30.0 (149282) Engine: Version: 26.1.1 API version: 1.45 (minimum version 1.24) Go version: go1.21.9 Git commit: ac2de55 Built: Tue Apr 30 11:48:28 2024 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.6.31 GitCommit: e377cd56a71523140ca6ae87e30244719194a521 runc: Version: 1.1.12 GitCommit: v1.1.12-0-g51d5e94 docker-init: Version: 0.19.0 GitCommit: de40ad0
docker info
Diagnostics ID
F14EC0BF-E65E-45F4-B960-78F5BD1C8BD8/20240514042410
Additional Info
Is there a way to tell what the previous version of docker that was installed for my coworker to try and isolate the cause?
The text was updated successfully, but these errors were encountered: