mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 18:29:11 +00:00
Use the format subcommand and change -l to --line-length
This commit is contained in:
@@ -293,9 +293,9 @@ command:
|
||||
|
||||
::
|
||||
|
||||
ruff -l 120 <path/to/file(s)>
|
||||
ruff format --line-length 120 <path/to/file(s)>
|
||||
|
||||
- ``-l 120`` means that the allowed number of characters per line is 120.
|
||||
- ``--line-length 120`` means that the allowed number of characters per line is 120.
|
||||
This number was agreed upon by the developers.
|
||||
- The path can point to several files, either one after the other or using
|
||||
wildcards like in a typical Unix shell.
|
||||
|
||||
Reference in New Issue
Block a user