Skip to content

Commit

Permalink
Ignore mypy errors
Browse files Browse the repository at this point in the history
These look like errors on the mypy side, namely on their
`partial`-plugin.
  • Loading branch information
kaste committed Sep 1, 2024
1 parent a3ebb2a commit 45e5bec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/interfaces/rebase.py
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ def run_async(self):
self.do_action(self.interface.entries[squash_idx - 1].long_hash)
else:
reversed_logs = list(reversed(self.interface.entries[0:squash_idx]))
show_log_panel(reversed_logs, partial(enqueue_on_worker, self.do_action))
show_log_panel(reversed_logs, partial(enqueue_on_worker, self.do_action)) # type: ignore[call-arg]

def do_action(self, target_commit):
if not target_commit:
Expand Down Expand Up @@ -733,7 +733,7 @@ def run_async(self):
self.do_action(self.interface.entries[move_idx - 1].long_hash)
else:
logs = list(reversed(self.interface.entries[:move_idx]))
show_log_panel(logs, partial(enqueue_on_worker, self.do_action))
show_log_panel(logs, partial(enqueue_on_worker, self.do_action)) # type: ignore[call-arg]

def do_action(self, target_commit):
if not target_commit:
Expand Down Expand Up @@ -785,7 +785,7 @@ def run_async(self):
self.do_action(self.interface.entries[move_idx + 1].long_hash)
else:
logs = self.interface.entries[move_idx + 1:]
show_log_panel(logs, partial(enqueue_on_worker, self.do_action))
show_log_panel(logs, partial(enqueue_on_worker, self.do_action)) # type: ignore[call-arg]

def do_action(self, target_commit):
if not target_commit:
Expand Down

0 comments on commit 45e5bec

Please sign in to comment.