style: apply the formatter to this session's new lookup and tests

Line reflow only, written by the autoformat step after the files were
committed. No semantic change.
This commit is contained in:
kevinveenbirkenbach committed 2026-08-02 19:52:24 +02:00
1 parent f3a1102980
commit fb5456b4e3
3 files changed
+5 -6

No files matched your search

+1 -3
View File
@@ -57,9 +57,7 @@ class LookupModule(LookupBase):
applications = lookup_loader.get(
"applications", loader=self._loader, templar=templar
).run([], variables=vars_)[0]
objstore = lookup_loader.get(
"objstore", loader=self._loader, templar=templar
)
objstore = lookup_loader.get("objstore", loader=self._loader, templar=templar)
consumers: list[str] = []
for group in group_names:
@@ -95,7 +95,9 @@ class TestInventoryOverrideConsumer(unittest.TestCase):
_reset_cache_for_tests()
variables = _variables({}, [cls.OVERRIDDEN, PROVIDER])
variables["applications"] = {
cls.OVERRIDDEN: {"services": {"seaweedfs": {"enabled": True, "shared": True}}}
cls.OVERRIDDEN: {
"services": {"seaweedfs": {"enabled": True, "shared": True}}
}
}
applications = ApplicationsLookup()
applications._templar = Templar(loader=DataLoader())
@@ -101,8 +101,7 @@ class TestIncludeTargetsResolve(unittest.TestCase):
hits = _distinct_hits(target, roots)
if not hits:
searched = ", ".join(
r.relative_to(PROJECT_ROOT).as_posix() or "."
for r in roots
r.relative_to(PROJECT_ROOT).as_posix() or "." for r in roots
)
findings.append(
f"{rel}: '{target}' resolves to no file "