Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CI with Mypy and Precommit #29

Merged
merged 9 commits into from
Apr 6, 2024
Prev Previous commit
Next Next commit
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
pre-commit-ci[bot] committed Apr 6, 2024

Verified

This commit was signed with the committer’s verified signature.
sentrivana Ivana Kellyer
commit 8b1428cd01abe7ca97d29ed527faccee251720b7
5 changes: 1 addition & 4 deletions core/callbacks.py
Original file line number Diff line number Diff line change
@@ -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
@@ -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
1 change: 0 additions & 1 deletion core/core-agnostic.py
Original file line number Diff line number Diff line change
@@ -28,7 +28,6 @@ def initialize_settings():
app.register("ready", initialize_settings)



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