Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 6, 2024
1 parent bec18e9 commit 8b1428c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 1 addition & 4 deletions core/callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

class CallbackState:
last_mode: ClassVar[Optional[str]] = None

# We have to keep track of the last title so we don't repeat it
# since sometimes Talon triggers a "title switch" when
# the title actually hasn't changed, i.e. when a text file is saved
Expand Down Expand Up @@ -38,9 +38,6 @@ def on_app_switch(app):
actions.user.echo_context()





def on_title_switch(win):
if not actions.user.echo_context_enabled():
return
Expand Down
1 change: 0 additions & 1 deletion core/core-agnostic.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ def initialize_settings():
app.register("ready", initialize_settings)



@mod.action_class
class Actions:
def set_cancel_callback(callback: Callable):
Expand Down

0 comments on commit 8b1428c

Please sign in to comment.