See here for the Ruff release notes.
This release upgrades the bundled Ruff version to v0.1.13 and adds Alpine Linux support to the extension.
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2024.0.0...2024.2.0
This release upgrades the bundled Ruff version to v0.1.11 and adds support for Notebook-wide
code actions on save via the notebook.codeActionsOnSave
setting.
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.60.0...2024.0.0
This release upgrades the bundled Ruff version to v0.1.9.
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.58.0...2023.60.0
This release avoids surfacing errors when formatting files with syntax errors.
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.56.0...2023.58.0
This release fixes a bug in which the bundled version of Ruff was incompatible with ARM Mac devices.
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.54.0...2023.56.0
This release fixes a bug in which Ruff overwrite files when invalid settings were provided
via ruff.lint.args
or ruff.format.args
.
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.52.0...2023.54.0
This release upgrades the bundled Ruff version to v0.1.8.
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.50.0...2023.52.0
This release fixes a bug in which Ruff overwrite excluded files during formatting.
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.48.0...2023.50.0
This release fixes a bug in which syntax errors caused files to clear when formatting.
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.46.0...2023.48.0
This release includes full support for using Ruff with Jupyter Notebooks in VS Code. For example:
{
"notebook.formatOnSave.enabled": true,
"notebook.codeActionsOnSave": {
"source.fixAll": true,
"source.organizeImports": true
},
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff"
}
}
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.44.0...2023.46.0
This release includes full support for using Ruff as a Python formatter via Ruff's ruff format
command.
You can configure Ruff to format Python code by marking it as your default formatter in VS Code's
settings.json
:
{
"[python]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "charliermarsh.ruff"
}
}
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.42.0...2023.44.0
This release is required for compatibility with Ruff v0.1.0+ which includes breaking changes.
Ruff fixes are now labeled as "safe" or "unsafe". By default, the "Fix all" action will no longer apply unsafe
fixes. However, unsafe fixes can be applied manually with the "Quick fix" action. Application of unsafe fixes when
using "Fix all" can be enabled by setting unsafe-fixes = true
in your Ruff configuration file or adding
--unsafe-fixes
flag to the "Lint args" setting.
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.40.0...2023.42.0
- Deprecation:
ruff.args
has been renamed toruff.lint.args
(see: astral-sh#293). - Deprecation:
ruff.run
has been renamed toruff.lint.run
(see: astral-sh#293).
The extension will continue to respect the deprecated variants (ruff.args
and ruff.run
), but
they will be removed in a future release.
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.38.0...2023.40.0
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.36.0...2023.38.0
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.34.0...2023.36.0
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.32.0...2023.34.0
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.30.0...2023.32.0
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.28.0...2023.30.0
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.26.0...2023.28.0
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.24.0...2023.26.0
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.22.0...2023.24.0
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.20.0...2023.22.0
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.18.0...2023.20.0
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.16.0...2023.18.0
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.14.0...2023.16.0
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.12.0...2023.14.0
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.10.0...2023.12.0
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.8.0...2023.10.0
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.6.0...2023.8.0
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.4.0...2023.6.0
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.2.0...2023.4.0
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2022.2.0...2023.2.0
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2022.0.25...2022.0.26
- Migrate to ruff-lsp by @charliermarsh in astral-sh#75
- Simplify some TypeScript code by @charliermarsh in astral-sh#77
- Upgrade ruff-lsp to v0.0.8 by @charliermarsh in astral-sh#79
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2022.0.24...2022.0.25
- Add docs on replacing Black et al by @charliermarsh in astral-sh#66
- Skip JSON RPC abstraction for cross-interpreter calls by @charliermarsh in astral-sh#67
- Remove mypy.ini by @charliermarsh in astral-sh#68
- Clarify Black + Ruff compatibility in README by @charliermarsh in astral-sh#69
- Show check summary when hovering on checkcode in noqa comment by @harupy in astral-sh#26
- Bump Ruff version to 0.0.190 by @charliermarsh in astral-sh#74
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2022.0.23...2022.0.24
- Modify settings logic to match isort plugin by @charliermarsh in astral-sh#60
- Remove severity from default settings by @charliermarsh in astral-sh#62
- Bump Ruff version to 0.0.185 by @charliermarsh in astral-sh#63
- Add
ruff-lsp
to README by @charliermarsh in astral-sh#64
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2022.0.22...2022.0.23
- Fix 'Exception ignored in atexit callback' in jsonrpc by @eddyg in astral-sh#54
- Mark unused imports and local variables as unnecessary by @charliermarsh in astral-sh#55
- Bump Ruff version to 0.0.182 by @charliermarsh in astral-sh#57
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2022.0.21...2022.0.22
- Bump Ruff version to 0.0.165 by @charliermarsh in astral-sh#52
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2022.0.20...2022.0.21
- Bump default line length by @charliermarsh in astral-sh#46
- Enable CI by @charliermarsh in astral-sh#47
- Delay import of typing_extensions by @charliermarsh in astral-sh#49
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2022.0.19...2022.0.20
- Restore Python 3.7 compatibility by @charliermarsh in astral-sh#44
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2022.0.18...2022.0.19
- Enable
ruff: Organize Imports
action by @charliermarsh in astral-sh#32 - Bump Ruff version to 0.0.149 by @charliermarsh in astral-sh#33
- Fix failing lint test by @charliermarsh in astral-sh#34
- Fix mypy by @charliermarsh in astral-sh#35
- Remove pylint ignore directives by @charliermarsh in astral-sh#36
- Add name and version to LanguageServer by @charliermarsh in astral-sh#38
- Upgrade to pygls==1.0.0a3 by @charliermarsh in astral-sh#37
- Bump Ruff version to 0.0.150 by @charliermarsh in astral-sh#40
- Implement code actions for Ruff autofix by @charliermarsh in astral-sh#39
- Update noxfile and fix lint errors by @charliermarsh in astral-sh#41
- Add diagnostic code to Quickfix by @charliermarsh in astral-sh#42
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2022.0.17...2022.0.18
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2022.0.16...2022.0.17
- Publish to OpenVSX by @charliermarsh in astral-sh#30
- Bump Ruff version to 0.0.138 by @charliermarsh in astral-sh#31
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2022.0.15...2022.0.16
- Bump Ruff version to 0.0.132 by @charliermarsh in astral-sh#27
- add changelog.md by @akanz1 in astral-sh#24
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2022.0.14...2022.0.15
- Update README.md by @akanz1 in #21
- Bump Ruff version to 0.0.121 by @charliermarsh in #22
- Bump version to 2022.0.14 by @charliermarsh in #23
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2022.0.13...2022.0.14
- Use scripts path when interpreter is set by @charliermarsh in #18
- Bump Ruff version to 0.0.117 by @charliermarsh in #19
Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2022.0.12...2022.0.13
- Add .idea and .ruff_cache to .vscodeignore by @charliermarsh in #14