Skip to content

Commit

Permalink
format: formatted to fix pre commit error (line length exceed format)
Browse files Browse the repository at this point in the history
  • Loading branch information
KMohZaid committed Aug 19, 2024
1 parent e5236cb commit 0ce805e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pylsp_ruff/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,9 @@ def pylsp_format_document(workspace: Workspace, document: Document) -> Generator
# specifying `format = ["I"]` to get import sorting as part of formatting.
new_text = run_ruff(
settings=PluginSettings(
ignore=["ALL"], select=settings.format, executable=settings.executable
ignore=["ALL"],
select=settings.format,
executable=settings.executable,
),
document_path=document.path,
document_source=new_text,
Expand Down

0 comments on commit 0ce805e

Please sign in to comment.