Commit fe31857c7d
fe31857c7d5b90c90784d83b12326c0ba80ff019
parent: 84fbb3ea67
Verified · cmc
cmc <hello@cleberg.net> · 2024-11-07 05:27 UTC
fix pylint errors
Layout: unified · split
yoshi/__main__.py
+4
| @@ -1,3 +1,7 @@ |
| 1 | """ |
| 2 | Entry point for the yoshi cli app. |
| 3 | """ |
| 4 | |
| 1 | 5 | if __name__ == "__main__": |
| 2 | 6 | from yoshi.cli import yoshi |
| 3 | 7 | yoshi() |
yoshi/account.py
+1 −1
| @@ -5,7 +5,7 @@ Modules imported: |
| 5 | 5 | - database: A custom module providing database functionality. |
| 6 | 6 | """ |
| 7 | 7 | |
| 8 | | import yoshi.database as database |
| 8 | from yoshi import database |
| 9 | 9 | |
| 10 | 10 | |
| 11 | 11 | class Account: |
yoshi/cli.py
+4 −3
| @@ -5,11 +5,12 @@ It imports the required modules and sets up a parser with basic options for demo |
| 5 | 5 | """ |
| 6 | 6 | |
| 7 | 7 | import argparse |
| 8 | | import yoshi.crypto as crypto |
| 9 | | import yoshi.database as database |
| 10 | | import yoshi.process as process |
| 8 | from yoshi import crypto, database, process |
| 11 | 9 | |
| 12 | 10 | def yoshi(): |
| 11 | """ |
| 12 | CLI entry point logic, used to parse user inputs. |
| 13 | """ |
| 13 | 14 | parser = argparse.ArgumentParser( |
| 14 | 15 | description='Manage your username and passwords via a convenient CLI vault.' |
| 15 | 16 | ) |
yoshi/process.py
+1 −1
| @@ -28,7 +28,7 @@ import random |
| 28 | 28 | import uuid |
| 29 | 29 | from prettytable import PrettyTable |
| 30 | 30 | from yoshi.account import Account |
| 31 | | import yoshi.database as database |
| 31 | from yoshi import database |
| 32 | 32 | |
| 33 | 33 | |
| 34 | 34 | def generate_characters(n: int) -> list: |
yoshi_cli.egg-info/PKG-INFO
+1 −2
| @@ -48,8 +48,7 @@ To run the script locally, run the following commands: |
| 48 | 48 | ```bash |
| 49 | 49 | git clone REPO_URL |
| 50 | 50 | cd yoshi |
| 51 | | pip3 install -r requirements.txt |
| 52 | | python3 src/yoshi/cli.py --help |
| 51 | pip install . |
| 53 | 52 | ``` |
| 54 | 53 | |
| 55 | 54 | # Usage |