chore:switch to poetry as build tool and package manager

This commit is contained in:
Benex254
2024-06-23 20:13:09 +03:00
parent 4b5ff6348e
commit 3b8a565843
59 changed files with 356 additions and 314 deletions

View File

@@ -1,6 +1,6 @@
import subprocess
import logging
import shutil
import subprocess
logger = logging.getLogger(__name__)
@@ -19,15 +19,17 @@ def fzf(options, prompt="Select Anime: ", *custom_commands):
return None
result = subprocess.run(
[
FZF,
"--reverse",
"--cycle",
"--prompt",
prompt,
]
if not custom_commands
else [FZF, *custom_commands],
(
[
FZF,
"--reverse",
"--cycle",
"--prompt",
prompt,
]
if not custom_commands
else [FZF, *custom_commands]
),
input=options_str,
text=True,
stdout=subprocess.PIPE,