mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-28 09:39:53 +00:00
cert_audit: Disable pylint error for importing cryptography
This is to make CI happy. The script requires cryptography >= 35.0.0, which is only available for Python >= 3.6. But both ubuntu-16.04 and Travis CI are using Python 3.5.x. Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
This commit is contained in:
parent
cb8fc3275a
commit
3179232211
@ -31,7 +31,10 @@ import datetime
|
|||||||
import glob
|
import glob
|
||||||
from enum import Enum
|
from enum import Enum
|
||||||
|
|
||||||
from cryptography import x509
|
# The script requires cryptography >= 35.0.0 which is only available
|
||||||
|
# for Python >= 3.6. Disable the pylint error here until we were
|
||||||
|
# using modern system on our CI.
|
||||||
|
from cryptography import x509 #pylint: disable=import-error
|
||||||
|
|
||||||
# reuse the function to parse *.data file in tests/suites/
|
# reuse the function to parse *.data file in tests/suites/
|
||||||
from generate_test_code import parse_test_data as parse_suite_data
|
from generate_test_code import parse_test_data as parse_suite_data
|
||||||
|
Loading…
x
Reference in New Issue
Block a user