From e864e7198104e000718ac8d0ded3f62b57165334 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Aug 2026 18:00:32 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.12.12 → v0.16.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.12.12...v0.16.1) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f3e4ad1..71001b2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -30,7 +30,7 @@ repos: - id: detect-secrets - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.12.12 + rev: v0.16.1 hooks: - id: ruff - id: ruff-format From 6143b1cac480f2a77c04766ddcf478e120414e96 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Aug 2026 18:06:03 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- app/login.py | 4 ++-- app/utils.py | 7 ++++--- app/vaultrun.py | 4 ++-- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/app/login.py b/app/login.py index 75aaf52..27ae782 100644 --- a/app/login.py +++ b/app/login.py @@ -1,7 +1,7 @@ -import webbrowser -import hvac import urllib.parse +import webbrowser +import hvac OIDC_CALLBACK_PORT = 8250 OIDC_REDIRECT_URI = f"http://localhost:{OIDC_CALLBACK_PORT}/oidc/callback" diff --git a/app/utils.py b/app/utils.py index 1a9e5b8..86765aa 100644 --- a/app/utils.py +++ b/app/utils.py @@ -1,9 +1,10 @@ import os import sys -from subprocess import Popen, PIPE -from rofi import Rofi -import yaml +from subprocess import PIPE, Popen + import dmenu +import yaml +from rofi import Rofi def copy_to_clipboard(text: bytes): diff --git a/app/vaultrun.py b/app/vaultrun.py index feeebf4..cb01038 100644 --- a/app/vaultrun.py +++ b/app/vaultrun.py @@ -1,8 +1,8 @@ import hvac +from rich import pretty, print from app.login import vault_login -from app.utils import call_rofi_dmenu, which, copy_to_clipboard, parse_yaml_user_config -from rich import print, pretty +from app.utils import call_rofi_dmenu, copy_to_clipboard, parse_yaml_user_config, which def parse_vault_path(client: hvac.Client, mount_point: str, secret_path: str) -> str: