aboutsummaryrefslogtreecommitdiff
path: root/sanity-check.sh
blob: f02de7d700b41a0e50c7617b8e828e52f87b290d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
set -ex

python3 validate.py \
    -r build-error.txt \
    -p E501 W503 \
    -s SC1091 SC2230 \
    -v

# pycodestyle checks skipped:
# E510: line too long

# Shellchecks skipped:
# SC1091: not following

# Reason: 'which' is widely used and supported. And 'command' applets isn't
# available in busybox, refer to https://busybox.net/downloads/BusyBox.html
# SC2230: which is non-standard. Use builtin 'command -v' instead.