From 7d9b147ffd4d84c7dc80ad60e224c93edf778a7a Mon Sep 17 00:00:00 2001 From: Firepup Sixfifty Date: Wed, 8 Nov 2023 21:22:37 -0600 Subject: [PATCH] pyright 2 --- config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.py b/config.py index 628184c..e9d98bd 100644 --- a/config.py +++ b/config.py @@ -6,8 +6,8 @@ from typing import Union, Any load_dotenv() __version__ = "v2.0.3" -npbase = "\[\x0303last\.fm\x03\] [A-Za-z0-9_[\]{}\\|^]{1,$MAX} (is listening|last listened) to: \x02.+ - .*\x02( \([0-9]+ plays\)( \[.*\])?)?" -su = "^(su|sudo|(su .*|sudo .*))$" # type: ignore[reportInvalidStringEscapeSequence] +npbase: str = "\[\x0303last\.fm\x03\] [A-Za-z0-9_[\]{}\\|^]{1,$MAX} (is listening|last listened) to: \x02.+ - .*\x02( \([0-9]+ plays\)( \[.*\])?)?" +su = "^(su|sudo|(su .*|sudo .*))$" # type: ignore servers: dict[str, dict[str, Any]] = { "ircnow": { "address": "localhost",