Change code suggestions to output black formatter compliant code (#33931)
This commit is contained in:
parent
5fe08a5647
commit
fbe6b4b486
@ -87,11 +87,11 @@ def ensure_build_dependencies_or_raise(spec, dependencies, error_msg):
|
|||||||
)
|
)
|
||||||
|
|
||||||
for dep in missing_deps:
|
for dep in missing_deps:
|
||||||
msg += " depends_on('{0}', type='build', when='@{1} {2}')\n".format(
|
msg += ' depends_on("{0}", type="build", when="@{1} {2}")\n'.format(
|
||||||
dep, spec.version, "build_system=autotools"
|
dep, spec.version, "build_system=autotools"
|
||||||
)
|
)
|
||||||
|
|
||||||
msg += "\nUpdate the version (when='@{0}') as needed.".format(spec.version)
|
msg += '\nUpdate the version (when="@{0}") as needed.'.format(spec.version)
|
||||||
raise RuntimeError(msg)
|
raise RuntimeError(msg)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user