I'm trying to use ruff for linting and formatting (replacing pylint and black) when running Python 3.9 in a virtual environment on a remote workstation using VSCode.
I have ruff set up as the python formatter, but VSCode reports:
FormattingExtension 'Ruff' is configured as formatter but it cannot format 'Python'-files
Which I suspect is due to the error in the Ruff log.
VSCode version 1.85.2
Python extension version 2022.8.1
Pylance extension version 2022.6.30
Ruff extension version 2024.26.0
VSCode is running on a Mac, Mac OS Sonoma 14.5
The workstation is running Centos 7
I'm trying to use ruff for linting and formatting (replacing pylint and black) when running Python 3.9 in a virtual environment on a remote workstation using VSCode.
The Ruff logging shows:
I have ruff set up as the python formatter, but VSCode reports:
FormattingExtension 'Ruff' is configured as formatter but it cannot format 'Python'-files
Which I suspect is due to the error in the Ruff log.
VSCode version 1.85.2 Python extension version 2022.8.1 Pylance extension version 2022.6.30 Ruff extension version 2024.26.0
VSCode is running on a Mac, Mac OS Sonoma 14.5 The workstation is running Centos 7
relevant settings from VSCode remote settings: