Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support
BSD 2-Clause "Simplified" License
13.51k
stars
1.43k
forks
source link
ALE ruff format shows error: "Unidentified byte: Loading .env environment variables..." #4788
Open
Flimm opened 4 months ago
Information
VIM version
NVIM v0.10.0
Build type: Release
Operating System: Ubuntu 24.04
What went wrong
I'm running the ruff formatter for Python files. Ruff was installed using pipenv. I get this error displayed in Neovim:
Reproducing the bug
pipenv install ruff
.env
file exists:ALEInfo
Expand
(finished - exit code 0) ['/bin/sh', '-c', 'cd ''/home/flimm/bla'' && ''pipenv'' run ruff format --stdin-filename ''bla/bla.py'' - < ''/tmp/nvim.song/00sSx2/6/bla.py''']To fix this,
pipenv
needs to be called with the--quiet
option.Instead of running:
It should run: