From 4a316ad7b5cb88c0015117525cf7fbb939b5ce5e Mon Sep 17 00:00:00 2001 From: Adam Janovsky Date: Fri, 10 Nov 2023 12:22:59 +0100 Subject: fix new ruff errors --- src/sec_certs/dataset/fips_algorithm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sec_certs/dataset/fips_algorithm.py') diff --git a/src/sec_certs/dataset/fips_algorithm.py b/src/sec_certs/dataset/fips_algorithm.py index fbc8351a..f3f27c0b 100644 --- a/src/sec_certs/dataset/fips_algorithm.py +++ b/src/sec_certs/dataset/fips_algorithm.py @@ -82,7 +82,7 @@ class FIPSAlgorithmDataset(JSONPathDataset, ComplexSerializableType): if failed_tuples: failed_urls, failed_paths = zip(*failed_tuples) responses = helpers.download_parallel(failed_urls, failed_paths) - if any([x != constants.RESPONSE_OK for x in responses]): + if any(x != constants.RESPONSE_OK for x in responses): raise ValueError("Failed to download the algorithms HTML data, the dataset won't be constructed.") return paths -- cgit v1.3.1