[@spackbot] updating style on behalf of wdconinc

This commit is contained in:
wdconinc 2024-09-02 00:54:06 +00:00 committed by Wouter Deconinck
parent 99bfe06ae9
commit 924cc93a02

View File

@ -7,11 +7,11 @@
import llnl.util.filesystem as fs import llnl.util.filesystem as fs
import llnl.util.lang as lang import llnl.util.lang as lang
import llnl.util.tty as tty import llnl.util.tty as tty
import spack.builder
import spack.deptypes as dt
from llnl.util.filesystem import mkdirp from llnl.util.filesystem import mkdirp
from llnl.util.lang import ClassProperty, classproperty from llnl.util.lang import ClassProperty, classproperty
import spack.builder
import spack.deptypes as dt
from spack.dependency import Dependency from spack.dependency import Dependency
from spack.directives import extends from spack.directives import extends
from spack.error import SpackError from spack.error import SpackError
@ -70,7 +70,6 @@ def append(field_value: Union[bytes, str]):
# in our dictionary we have a single package # in our dictionary we have a single package
# metadata parsed so we yield and repeat again. # metadata parsed so we yield and repeat again.
for line in data.splitlines(): for line in data.splitlines():
if not line.strip(): if not line.strip():
continue continue
@ -106,7 +105,6 @@ def append(field_value: Union[bytes, str]):
if package: if package:
yield package yield package
def verify_package(self): def verify_package(self):
if not self.pkg.run_tests: if not self.pkg.run_tests:
return return