This linter plugin for SublimeLinter provides an interface to ruff. It will be used with files that have the “python” syntax.
SublimeLinter must be installed in order to use this plugin.
Please use Package Control to install the linter plugin.
If this package is not listed on Package Control, then you can install it manually from the Git repository:
- On MacOS:
cd ~/Library/Application\ Support/Sublime\ Text/Packages
git clone --depth 1 https://github.com/onlyhavecans/SublimeLinter-contrib-ruff.git
Before installing this plugin, you must ensure that ruff
is installed on your system.
In order for ruff
to be executed by SublimeLinter, you must ensure that its path is available to SublimeLinter. The docs cover troubleshooting PATH configuration.
- SublimeLinter settings: http://sublimelinter.readthedocs.org/en/latest/settings.html
- Linter settings: http://sublimelinter.readthedocs.org/en/latest/linter_settings.html