Skip to content

Commit 300fd88

Browse files
committed
Fix treefmt errors introduced in #156
Signed-off-by: magic_rb <richard@brezak.sk>
1 parent 7e327b8 commit 300fd88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

buildbot_nix/github_projects.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ def load_projects(self) -> list["GitProject"]:
572572

573573
if isinstance(self.auth_backend, GithubAppAuthBackend):
574574
dropped_repos = list(
575-
filter(lambda repo: not "installation_id" in repo, repos)
575+
filter(lambda repo: "installation_id" not in repo, repos)
576576
)
577577
if dropped_repos:
578578
tlog.info(
@@ -611,7 +611,7 @@ def are_projects_cached(self) -> bool:
611611

612612
all_have_installation_id = True
613613
for project in json.loads(self.config.project_cache_file.read_text()):
614-
if not "installation_id" in project:
614+
if "installation_id" not in project:
615615
all_have_installation_id = False
616616
break
617617

0 commit comments

Comments
 (0)