Skip to content

Commit db9c07d

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 05b854b commit db9c07d

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

app/login.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import webbrowser
2-
import hvac
31
import urllib.parse
2+
import webbrowser
43

4+
import hvac
55

66
OIDC_CALLBACK_PORT = 8250
77
OIDC_REDIRECT_URI = f"http://localhost:{OIDC_CALLBACK_PORT}/oidc/callback"

app/utils.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
import os
22
import sys
3-
from subprocess import Popen, PIPE
4-
from rofi import Rofi
5-
import yaml
3+
from subprocess import PIPE, Popen
4+
65
import dmenu
6+
import yaml
7+
from rofi import Rofi
78

89

910
def copy_to_clipboard(text: bytes):

app/vaultrun.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import hvac
2+
from rich import pretty, print
23

34
from app.login import vault_login
4-
from app.utils import call_rofi_dmenu, which, copy_to_clipboard, parse_yaml_user_config
5-
from rich import print, pretty
5+
from app.utils import call_rofi_dmenu, copy_to_clipboard, parse_yaml_user_config, which
66

77

88
def parse_vault_path(client: hvac.Client, mount_point: str, secret_path: str) -> str:

0 commit comments

Comments
 (0)