def get_dependencies(self) -> Optional[List[str]]:
if not self.apt_dependencies:<EOL><INDENT>return None<EOL><DEDENT>try:<EOL><INDENT>dependencies = list([str(x).strip() for x in self.apt_dependencies])<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ArcaMisconfigured("<STR_LIT>")<EOL><DEDENT>if not len(dependencies):<EOL><INDENT>return None<EOL><DEDENT>dependencies.sort()<EOL>return dependencies<EOL>
Returns the ``apt_dependencies`` setting to a standardized format.

        :raise ArcaMisconfigured: if the dependencies can't be converted into a list of strings
        :return: List of dependencies, ``None`` if there are none.