ssort ¤
Callable for ssort.
Functions:
-
run
–Run
ssort
.
run ¤
Run ssort
.
Parameters:
-
*files
(str
, default:()
) –Files to format.
-
diff
(bool | None
, default:None
) –Prints a diff of all changes ssort would make to a file.
-
check
(bool | None
, default:None
) –Check the file for unsorted statements. Returns 0 if nothing needs to be changed. Otherwise returns 1.
Source code in src/duty/callables/ssort.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
|