nvie / vim-flake8

Flake8 plugin for Vim
BSD 2-Clause "Simplified" License
1.07k stars 99 forks source link

Remote file not found #109

Closed daviddaiweizhang closed 10 months ago

daviddaiweizhang commented 10 months ago

Hello,

I am editing a python script on a remote server. I opened it in VIM by

e scp://username@hostname//home/username/path/to/file.py

but when I pressed \<F7>, I got the following error:

scp://username@hostname//home/username/path/to/file.py|| E902 FileNotFoundError: [Errno 2] No such file or directory: 'scp://username@hostname//home/username/path/to/file.py'
nvie commented 10 months ago

I don't think flake8 is capable of opening files remotely, and all this plugin does is send the filename of the buffer to flake8 and return its results.