Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions app/login.py
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
7 changes: 4 additions & 3 deletions app/utils.py
Original file line number Diff line number Diff line change
@@ -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):
Expand Down
4 changes: 2 additions & 2 deletions app/vaultrun.py
Original file line number Diff line number Diff line change
@@ -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:
Expand Down