We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9141a72 commit efcad8bCopy full SHA for efcad8b
rocrate_validator/requirements/python/__init__.py
@@ -55,6 +55,11 @@ def __init__(self,
55
self._check_function = check_function
56
57
def execute_check(self, context: ValidationContext) -> bool:
58
+ if self.requirement.profile.identifier != context.profile_identifier and \
59
+ context.settings.disable_inherited_profiles_issue_reporting:
60
+ logger.debug("Skipping requirement %s as it belongs to an inherited profile %s",
61
+ self.requirement.identifier, self.requirement.profile.identifier)
62
+ return True
63
return self._check_function(self, context)
64
65
0 commit comments