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 \ |
Milosz Wasilewski | be93429 | 2020-03-02 19:27:17 +0000 | [diff] [blame] | 6 | -p E501 W503 \ |
| 7 | -s SC1091 SC2230 \ |
| 8 | -v |
Chase Qi | 6b5b465 | 2019-01-11 14:18:28 +0800 | [diff] [blame] | 9 | |
| 10 | # pycodestyle checks skipped: |
| 11 | # E510: line too long |
| 12 | |
| 13 | # Shellchecks skipped: |
| 14 | # SC1091: not following |
| 15 | |
| 16 | # Reason: 'which' is widely used and supported. And 'command' applets isn't |
| 17 | # available in busybox, refer to https://busybox.net/downloads/BusyBox.html |
| 18 | # SC2230: which is non-standard. Use builtin 'command -v' instead. |