aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Cleberg <hello@cleberg.net>2024-11-06 23:27:55 -0600
committerChristian Cleberg <hello@cleberg.net>2024-11-06 23:27:55 -0600
commitfe31857c7d5b90c90784d83b12326c0ba80ff019 (patch)
treea9f87550c178ed3dd15120c1775bceb169fd5132
parent84fbb3ea67f802bab3d990c651e6c47430cfd4d7 (diff)
downloadyoshi-cli-fe31857c7d5b90c90784d83b12326c0ba80ff019.tar.gz
yoshi-cli-fe31857c7d5b90c90784d83b12326c0ba80ff019.tar.bz2
yoshi-cli-fe31857c7d5b90c90784d83b12326c0ba80ff019.zip
fix pylint errors
-rw-r--r--yoshi/__main__.py4
-rw-r--r--yoshi/account.py2
-rw-r--r--yoshi/cli.py7
-rw-r--r--yoshi/process.py2
-rw-r--r--yoshi_cli.egg-info/PKG-INFO3
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