From 45c8e843555d948f9fa195a13ca0a68f4863d8ce Mon Sep 17 00:00:00 2001 From: Nargis Sultani Date: Tue, 12 Sep 2023 04:35:11 -0400 Subject: [PATCH] addressed linter issues --- src/validator/phase_validations.py | 37 +++++++++++++++++++----------- 1 file changed, 24 insertions(+), 13 deletions(-) diff --git a/src/validator/phase_validations.py b/src/validator/phase_validations.py index c40cf2d5..a5740c55 100644 --- a/src/validator/phase_validations.py +++ b/src/validator/phase_validations.py @@ -5,23 +5,35 @@ import global_data -from check_functions import (has_correct_length, - has_no_conditional_field_conflict, - has_valid_enum_pair, has_valid_fieldset_pair, - has_valid_format, - has_valid_multi_field_value_count, - has_valid_value_count, is_date, is_date_after, - is_date_before_in_days, is_date_in_range, - is_greater_than, is_greater_than_or_equal_to, - is_less_than, is_number, is_unique_column, - is_unique_in_field, is_valid_code, is_valid_enum, - meets_multi_value_field_restriction, - string_contains) +from check_functions import ( + has_correct_length, + has_no_conditional_field_conflict, + has_valid_enum_pair, + has_valid_fieldset_pair, + has_valid_format, + has_valid_multi_field_value_count, + has_valid_value_count, + is_date, + is_date_after, + is_date_before_in_days, + is_date_in_range, + is_greater_than, + is_greater_than_or_equal_to, + is_less_than, + is_number, + is_unique_column, + is_unique_in_field, + is_valid_code, + is_valid_enum, + meets_multi_value_field_restriction, + string_contains, +) from checks import SBLCheck # read and populate global naics code (this should be called only once) global_data.read_naics_codes() + def get_phase_1_and_2_validations_for_lei(lei: str = None): return { "uid": { @@ -3339,4 +3351,3 @@ def get_phase_1_and_2_validations_for_lei(lei: str = None): ], }, } -