Skip to content

Commit 74f73e3

Browse files
authored
Merge pull request #11231 from spoxii/ruff-format-cli
Update usage of `ruff`
2 parents ee30acc + f4a1b68 commit 74f73e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contributing/development/code_style_guidelines.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,9 @@ command:
293293

294294
::
295295

296-
ruff -l 120 <path/to/file(s)>
296+
ruff format --line-length 120 <path/to/file(s)>
297297

298-
- ``-l 120`` means that the allowed number of characters per line is 120.
298+
- ``--line-length 120`` means that the allowed number of characters per line is 120.
299299
This number was agreed upon by the developers.
300300
- The path can point to several files, either one after the other or using
301301
wildcards like in a typical Unix shell.

0 commit comments

Comments
 (0)