From f7a9bf9f133d8fe2320c09dce837cafbc0967055 Mon Sep 17 00:00:00 2001 From: mctaylors Date: Wed, 23 Jul 2025 02:59:10 +0300 Subject: [PATCH] change: remove implicitly set variable types Signed-off-by: mctaylors --- config.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/config.py b/config.py index 53a0367..c19cbca 100644 --- a/config.py +++ b/config.py @@ -1,6 +1,5 @@ import configparser from os import path -from typing import Optional import requests @@ -70,9 +69,6 @@ def _validate_config() -> bool: class _General: - token: str - sourceurl: Optional[str] - def __init__(self): self.token = _c.get("General", "Token") self.sourceurl = _c.get("General", "SourceUrl") @@ -83,10 +79,6 @@ class _General: class _App: - name: str - host: str - hostname: str - def __init__(self): self.name = _c.get("App", "Name") self.host = _c.get("App", "Host")