[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2023-03-08 14:14:51 +00:00
parent a14f8fe625
commit 10dc53f753

View File

@@ -37,21 +37,13 @@ parser.add_argument(
"-p", "-p",
"--matrix-pw", "--matrix-pw",
help="matrix password. Either this or token required. Environment variable: `MATRIX_PW`", help="matrix password. Either this or token required. Environment variable: `MATRIX_PW`",
**( **({"default": os.environ["MATRIX_PW"]} if "MATRIX_PW" in os.environ else {}),
{"default": os.environ["MATRIX_PW"]}
if "MATRIX_PW" in os.environ
else {}
),
) )
parser.add_argument( parser.add_argument(
"-t", "-t",
"--matrix-token", "--matrix-token",
help="matrix access token. Either this or password required. Environment variable: `MATRIX_TOKEN`", help="matrix access token. Either this or password required. Environment variable: `MATRIX_TOKEN`",
**( **({"default": os.environ["MATRIX_TOKEN"]} if "MATRIX_TOKEN" in os.environ else {}),
{"default": os.environ["MATRIX_TOKEN"]}
if "MATRIX_TOKEN" in os.environ
else {}
),
) )
parser.add_argument( parser.add_argument(
"-k", "-k",