pyright 2

This commit is contained in:
Firepup Sixfifty 2023-11-08 21:22:37 -06:00
parent bbf20bc216
commit 7d9b147ffd
Signed by: Firepup650
GPG key ID: 7C92E2ABBBFAB9BA

View file

@ -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",