Skip to content

Commit

Permalink
addressed linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Nargis Sultani committed Sep 12, 2023
1 parent 1d729d8 commit 45c8e84
Showing 1 changed file with 24 additions and 13 deletions.
37 changes: 24 additions & 13 deletions src/validator/phase_validations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -3339,4 +3351,3 @@ def get_phase_1_and_2_validations_for_lei(lei: str = None):
],
},
}

0 comments on commit 45c8e84

Please sign in to comment.