def validate_configuration(self):
super().validate_configuration()<EOL>if self.inherit_image is not None:<EOL><INDENT>try:<EOL><INDENT>assert len(str(self.inherit_image).split("<STR_LIT::>")) == <NUM_LIT:2><EOL><DEDENT>except (ValueError, AssertionError):<EOL><INDENT>raise ArcaMisconfigured(f"<STR_LIT>"<EOL>f"<STR_LIT>")<EOL><DEDENT><DEDENT>if self.inherit_image is not None and self.get_dependencies() is not None:<EOL><INDENT>raise ArcaMisconfigured("<STR_LIT>"<EOL>"<STR_LIT>")<EOL><DEDENT>if self.use_registry_name is not None:<EOL><INDENT>try:<EOL><INDENT>assert <NUM_LIT:2> >= len(str(self.inherit_image).split("<STR_LIT:/>")) <= <NUM_LIT:3><EOL><DEDENT>except ValueError:<EOL><INDENT>raise ArcaMisconfigured(f"<STR_LIT>"<EOL>f"<STR_LIT>")<EOL><DEDENT><DEDENT>
Validates the provided settings.

* Checks ``inherit_image`` format.
* Checks ``use_registry_name`` format.
* Checks that ``apt_dependencies`` is not set when ``inherit_image`` is set.

:raise ArcaMisconfigured: If some of the settings aren't valid.