Skip to content

Commit 7b3e8bc

Browse files
committed
fix(models): 🐛 forward extra_profiles_path when computing
validation statistics
1 parent 8306911 commit 7b3e8bc

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

rocrate_validator/models.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1638,7 +1638,10 @@ def __initialise__(cls, validation_settings: ValidationSettings):
16381638
# extract the validation settings
16391639
severity_validation = validation_settings.requirement_severity
16401640
profiles: list[Profile] = Profile.load_profiles(
1641-
validation_settings.profiles_path, severity=severity_validation)
1641+
validation_settings.profiles_path,
1642+
extra_profiles_path=validation_settings.extra_profiles_path,
1643+
severity=severity_validation,
1644+
allow_requirement_check_override=validation_settings.allow_requirement_check_override)
16421645
profile: Profile = Profile.find_in_list(profiles, validation_settings.profile_identifier)
16431646
target_profile_identifier = profile.identifier
16441647
# initialize the profiles list

0 commit comments

Comments
 (0)