Pylint settings

This commit is contained in:
Firq 2024-07-05 16:05:35 +02:00
parent be932ea9c4
commit a99b81b0c7
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
12 changed files with 140 additions and 3 deletions

View file

@ -1,6 +1,9 @@
from enum import Enum
class StackStatus(Enum):
"""
mapping codes for status vs text
"""
# pylint: disable=invalid-name
inactive = 1
running = 3

View file

@ -2,6 +2,9 @@ from typing import Callable
from pydantic import BaseModel
class Command(BaseModel):
"""
Basic command structure for the CLI to automatically generate valid commands
"""
cmd: str
bind: Callable
args: int

View file

@ -2,9 +2,15 @@ import argparse
# pylint: disable=too-few-public-methods
class Arguments(argparse.Namespace):
"""
Default Arguments when calling the CLI
"""
command: str
# pylint: disable=too-few-public-methods
class Credentials(argparse.Namespace):
"""
Special Argument Namespace for login credentials of the login commands
"""
username: str
password: str