Browse Source

Use the `format` subcommand and change `-l` to `--line-length`

SPOXY 1 week ago
parent
commit
f4a1b68f38
1 changed files with 2 additions and 2 deletions
  1. 2 2
      contributing/development/code_style_guidelines.rst

+ 2 - 2
contributing/development/code_style_guidelines.rst

@@ -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.