mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 19:45:33 +00:00
7b9fcdc2d5
Make check-python-files.sh run pylint on all *.py files (in directories where they are known to be present), rather than list files explicitly. Fix a bug whereby the return status of check-python-files.sh was only based on the last file passing, i.e. errors in other files were effectively ignored. Make check-python-files.sh run pylint unconditionally. Since pylint3 is not critical, make all.sh to skip running check-python-files.sh if pylint3 is not available.
13 lines
292 B
Bash
Executable file
13 lines
292 B
Bash
Executable file
#! /usr/bin/env sh
|
|
|
|
# This file is part of Mbed TLS (https://tls.mbed.org)
|
|
#
|
|
# Copyright (c) 2018, Arm Limited, All Rights Reserved
|
|
#
|
|
# Purpose:
|
|
#
|
|
# Run 'pylint' on Python files for programming errors and helps enforcing
|
|
# PEP8 coding standards.
|
|
|
|
pylint3 -j 2 scripts/*.py tests/scripts/*.py
|