blob: 1a2fa3e4a4c01978c6c8f1b4596f55edbddc1d76 [file] [log] [blame]
Chase Qied017432018-12-14 16:56:20 +08001#!/bin/sh
2set -ex
3
4python3 validate.py \
Chase Qied017432018-12-14 16:56:20 +08005 -r build-error.txt \
Federico Gelmetti612ac132022-01-11 17:11:20 +01006 -p E501 W503 E203 \
Anders Roxellecc325f2022-11-23 10:34:08 +01007 -s SC1091 SC2230 SC3043
Chase Qi6b5b4652019-01-11 14:18:28 +08008
9# pycodestyle checks skipped:
Federico Gelmetti612ac132022-01-11 17:11:20 +010010# E501: line too long
11# E203: Whitespace before ':'
12# Disabled because conflicting with black, refer to the link for details
13# https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#slices
Chase Qi6b5b4652019-01-11 14:18:28 +080014
15# Shellchecks skipped:
16# SC1091: not following
17
18# Reason: 'which' is widely used and supported. And 'command' applets isn't
19# available in busybox, refer to https://busybox.net/downloads/BusyBox.html
20# SC2230: which is non-standard. Use builtin 'command -v' instead.