From f8a5e8576a7573b97cfe2f753bb5d3a048f84afd Mon Sep 17 00:00:00 2001 From: Rich Megginson Date: Tue, 1 Feb 2022 10:06:03 -0700 Subject: [PATCH] fix python black errors fix python black errors Signed-off-by: Rich Megginson --- scripts/print_all_options.py | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/scripts/print_all_options.py b/scripts/print_all_options.py index b414fe8..e0b3167 100755 --- a/scripts/print_all_options.py +++ b/scripts/print_all_options.py @@ -64,15 +64,11 @@ def parse_validator(validator): if isinstance(validator, av.ArgValidatorDict): res = {} for k, v in validator.nested.items(): - if ( - v.name - not in ( - "infiniband_transport_mode", - "infiniband_p_key", - "vlan_id", - ) - and not isinstance(v, av.ArgValidatorDeprecated) - ): + if v.name not in ( + "infiniband_transport_mode", + "infiniband_p_key", + "vlan_id", + ) and not isinstance(v, av.ArgValidatorDeprecated): name = k if not validator.required: pass