From 6cb5ae9dda98f838bb3cc241cdf2a402e3666283 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Tue, 24 Feb 2026 15:17:24 -0500 Subject: [PATCH] ci: format --- .pre-commit-config.yaml | 2 +- lua/todo/sync/gcal.lua | 17 +++++++---------- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5d1f13f..fdff634 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,4 +1,4 @@ -minimum_pre_commit_version: '3.5.0' +minimum_pre_commit_version: "3.5.0" repos: - repo: https://github.com/JohnnyMorganz/StyLua diff --git a/lua/todo/sync/gcal.lua b/lua/todo/sync/gcal.lua index 215294c..6565bd6 100644 --- a/lua/todo/sync/gcal.lua +++ b/lua/todo/sync/gcal.lua @@ -201,16 +201,13 @@ function M.authorize() local sha_result = vim.system({ 'printf', '%s', code_verifier }, { text = true }):wait() local sha_pipe = vim - .system( - { - 'sh', - '-c', - 'printf "%s" "' - .. code_verifier - .. '" | openssl dgst -sha256 -binary | openssl base64 -A | tr "+/" "-_" | tr -d "="', - }, - { text = true } - ) + .system({ + 'sh', + '-c', + 'printf "%s" "' + .. code_verifier + .. '" | openssl dgst -sha256 -binary | openssl base64 -A | tr "+/" "-_" | tr -d "="', + }, { text = true }) :wait() local code_challenge = sha_pipe.stdout or ''