File: format_source.sh

package info (click to toggle)
openrazer 3.11.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,436 kB
  • sloc: ansic: 15,895; python: 11,981; sh: 583; xml: 280; makefile: 133
file content (9 lines) | stat: -rwxr-xr-x 207 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#!/bin/bash

set -ex

# C (astyle)
find driver/ -name "*.c" -o -name "*.h" | xargs astyle --style=linux -n

# Python (autopep8)
autopep8 --jobs 0 --recursive --in-place --max-line-length 500 --ignore E402 .