File: indent-python

package info (click to toggle)
hkl 5.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 40,776 kB
  • sloc: ansic: 56,912; haskell: 5,879; python: 4,591; makefile: 1,137; cpp: 976; sh: 215; xml: 168; perl: 133; lisp: 80
file content (11 lines) | stat: -rwxr-xr-x 175 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
# PUBLIC DOMAIN
if [ -z "$1" ]; then
    echo  usage: $0 file-to-indent file2 file3 ...
    exit 1
fi

for i in $@; do
    echo Loading $i
    ruff format $i
done