Chase Qi | ed01743 | 2018-12-14 16:56:20 +0800 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | set -ex |
| 3 | |
| 4 | python3 validate.py \ |
Chase Qi | ed01743 | 2018-12-14 16:56:20 +0800 | [diff] [blame] | 5 | -r build-error.txt \ |
Federico Gelmetti | 612ac13 | 2022-01-11 17:11:20 +0100 | [diff] [blame] | 6 | -p E501 W503 E203 \ |
Anders Roxell | ecc325f | 2022-11-23 10:34:08 +0100 | [diff] [blame] | 7 | -s SC1091 SC2230 SC3043 |
Chase Qi | 6b5b465 | 2019-01-11 14:18:28 +0800 | [diff] [blame] | 8 | |
| 9 | # pycodestyle checks skipped: |
Federico Gelmetti | 612ac13 | 2022-01-11 17:11:20 +0100 | [diff] [blame] | 10 | # 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 Qi | 6b5b465 | 2019-01-11 14:18:28 +0800 | [diff] [blame] | 14 | |
| 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. |