From 906628245c99047f45fcf42208bd05170635f47f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 11 Sep 2023 02:23:24 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .../1password/chrome-extension/1password_chrome_global.talon | 2 +- apps/1password/chrome-extension/1password_chrome_mac.py | 5 +++-- apps/1password/chrome-extension/1password_chrome_mac.talon | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/apps/1password/chrome-extension/1password_chrome_global.talon b/apps/1password/chrome-extension/1password_chrome_global.talon index 40f7e6e165..6a287aff20 100644 --- a/apps/1password/chrome-extension/1password_chrome_global.talon +++ b/apps/1password/chrome-extension/1password_chrome_global.talon @@ -1,4 +1,4 @@ os: mac - -get password : user.get_password(text) \ No newline at end of file +get password : user.get_password(text) diff --git a/apps/1password/chrome-extension/1password_chrome_mac.py b/apps/1password/chrome-extension/1password_chrome_mac.py index fa1ccd18fe..956f495a88 100644 --- a/apps/1password/chrome-extension/1password_chrome_mac.py +++ b/apps/1password/chrome-extension/1password_chrome_mac.py @@ -1,9 +1,10 @@ import appscript -from talon import Context, Module, actions, app, ctrl, storage, clip +from talon import Context, Module, actions, app, clip, ctrl, storage ctx = Context() mod = Module() + @mod.action_class class Actions: def password_open_search(): @@ -36,4 +37,4 @@ def get_password(key: str): actions.user.password_copy_password() actions.sleep("500ms") actions.key("esc") - return clip.get() \ No newline at end of file + return clip.get() diff --git a/apps/1password/chrome-extension/1password_chrome_mac.talon b/apps/1password/chrome-extension/1password_chrome_mac.talon index 07dc91876f..14a907ffd1 100644 --- a/apps/1password/chrome-extension/1password_chrome_mac.talon +++ b/apps/1password/chrome-extension/1password_chrome_mac.talon @@ -2,4 +2,4 @@ app: chrome os: mac - -password: password_open_search() \ No newline at end of file +password: password_open_search()