Skip to content

Commit

Permalink
Allow ruff 3.x; disable default enabled formatters
Browse files Browse the repository at this point in the history
  • Loading branch information
Magnus Larsen committed Feb 7, 2024
1 parent 2dd4568 commit b0be78a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions pylsp_ruff/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ def pylsp_settings():
"mccabe": {"enabled": False},
"pycodestyle": {"enabled": False},
"pyls_isort": {"enabled": False},
"yapf": {"enabled": False},
"autopep8": {"enabled": False},
}
}
return converter.unstructure(settings)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ readme = "README.md"
requires-python = ">=3.8"
license = {text = "MIT"}
dependencies = [
"ruff>=0.1.5, <0.2.0",
"ruff>=0.1.5, <0.3.0",
"python-lsp-server",
"cattrs!=23.2.1",
"lsprotocol>=2022.0.0a1",
Expand Down

0 comments on commit b0be78a

Please sign in to comment.