refactor: use more None type annotations

Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
Macintxsh 2025-03-10 00:25:35 +03:00
parent 8b97a60a34
commit 3bbfb7b692
Signed by: mctaylors
GPG key ID: 4EEF4F949A266EE2
2 changed files with 3 additions and 3 deletions

View file

@ -33,7 +33,7 @@ def main() -> None:
application.run_polling(allowed_updates=Update.ALL_TYPES)
def validate_config():
def validate_config() -> None:
# noinspection PyBroadException
try:
response = requests.get(f"https://{config.get('Service', 'Domain')}/profile.json")