diff options
author | Christian Cleberg <hello@cleberg.net> | 2024-11-06 23:27:55 -0600 |
---|---|---|
committer | Christian Cleberg <hello@cleberg.net> | 2024-11-06 23:27:55 -0600 |
commit | fe31857c7d5b90c90784d83b12326c0ba80ff019 (patch) | |
tree | a9f87550c178ed3dd15120c1775bceb169fd5132 /yoshi | |
parent | 84fbb3ea67f802bab3d990c651e6c47430cfd4d7 (diff) | |
download | yoshi-cli-fe31857c7d5b90c90784d83b12326c0ba80ff019.tar.gz yoshi-cli-fe31857c7d5b90c90784d83b12326c0ba80ff019.tar.bz2 yoshi-cli-fe31857c7d5b90c90784d83b12326c0ba80ff019.zip |
fix pylint errors
Diffstat (limited to 'yoshi')
-rw-r--r-- | yoshi/__main__.py | 4 | ||||
-rw-r--r-- | yoshi/account.py | 2 | ||||
-rw-r--r-- | yoshi/cli.py | 7 | ||||
-rw-r--r-- | yoshi/process.py | 2 |
4 files changed, 10 insertions, 5 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: |