krz/yoshi-cli

A password manager for the command line.

clone: git clone https://gitbay.org/krz/yoshi-cli.git

fe31857c7d5b90c90784d83b12326c0ba80ff019

verified · cmc

author: Christian Cleberg <hello@cleberg.net> · 2024-11-07T05:27:55Z

fix pylint errors
 yoshi/__main__.py           | 4 ++++
 yoshi/account.py            | 2 +-
 yoshi/cli.py                | 7 ++++---
 yoshi/process.py            | 2 +-
 yoshi_cli.egg-info/PKG-INFO | 3 +--
 5 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/yoshi/__main__.py b/yoshi/__main__.py
index 7cadd21..b7e6c6f 100644
--- a/yoshi/__main__.py
+++ b/yoshi/__main__.py
@@ -1,3 +1,7 @@
+"""
+Entry point for the yoshi cli app.
+"""
+
 if __name__ == "__main__":
     from yoshi.cli import yoshi
     yoshi()
diff --git a/yoshi/account.py b/yoshi/account.py
index bf97c23..fb42008 100644
--- a/yoshi/account.py
+++ b/yoshi/account.py
@@ -5,7 +5,7 @@ Modules imported:
     - database: A custom module providing database functionality.
 """
 
-import yoshi.database as database
+from yoshi import database
 
 
 class Account:
diff --git a/yoshi/cli.py b/yoshi/cli.py
index 56abae7..e140098 100644
--- a/yoshi/cli.py
+++ b/yoshi/cli.py
@@ -5,11 +5,12 @@ It imports the required modules and sets up a parser with basic options for demo
 """
 
 import argparse
-import yoshi.crypto as crypto
-import yoshi.database as database
-import yoshi.process as process
+from yoshi import crypto, database, process
 
 def yoshi():
+    """
+    CLI entry point logic, used to parse user inputs.
+    """
     parser = argparse.ArgumentParser(
         description='Manage your username and passwords via a convenient CLI vault.'
     )
diff --git a/yoshi/process.py b/yoshi/process.py
index 155f9b0..107abfc 100644
--- a/yoshi/process.py
+++ b/yoshi/process.py
@@ -28,7 +28,7 @@ import random
 import uuid
 from prettytable import PrettyTable
 from yoshi.account import Account
-import yoshi.database as database
+from yoshi import database
 
 
 def generate_characters(n: int) -> list:
diff --git a/yoshi_cli.egg-info/PKG-INFO b/yoshi_cli.egg-info/PKG-INFO
index 085f3f6..028454d 100644
--- a/yoshi_cli.egg-info/PKG-INFO
+++ b/yoshi_cli.egg-info/PKG-INFO
@@ -48,8 +48,7 @@ To run the script locally, run the following commands:
 ```bash
 git clone REPO_URL
 cd yoshi
-pip3 install -r requirements.txt
-python3 src/yoshi/cli.py --help
+pip install .
 ```
 
 # Usage