chore(deps): update dependency mypy to v1.19.0 (#3956)
* chore(deps): update dependency mypy to v1.19.0 * Update * Update --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniel Girtler <dgirtler@atlassian.com>
This commit is contained in:
parent
601e033188
commit
8872f98c8d
|
|
@ -44,7 +44,7 @@ class U2FLoginConfiguration:
|
||||||
def parse_arg(args: U2FLoginConfigSerialization) -> 'U2FLoginConfiguration | None':
|
def parse_arg(args: U2FLoginConfigSerialization) -> 'U2FLoginConfiguration | None':
|
||||||
u2f_login_method = args.get('u2f_login_method')
|
u2f_login_method = args.get('u2f_login_method')
|
||||||
|
|
||||||
if u2f_login_method is None:
|
if not u2f_login_method:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
u2f_config = U2FLoginConfiguration(u2f_login_method=U2FLoginMethod(u2f_login_method))
|
u2f_config = U2FLoginConfiguration(u2f_login_method=U2FLoginMethod(u2f_login_method))
|
||||||
|
|
|
||||||
|
|
@ -201,7 +201,7 @@ class User:
|
||||||
elif enc_password:
|
elif enc_password:
|
||||||
password = Password(enc_password=enc_password)
|
password = Password(enc_password=enc_password)
|
||||||
|
|
||||||
if username is None or password is None:
|
if not username or password is None:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
user = User(
|
user = User(
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ Source = "https://github.com/archlinux/archinstall"
|
||||||
[project.optional-dependencies]
|
[project.optional-dependencies]
|
||||||
log = ["systemd_python==235"]
|
log = ["systemd_python==235"]
|
||||||
dev = [
|
dev = [
|
||||||
"mypy==1.18.2",
|
"mypy==1.19.0",
|
||||||
"flake8==7.3.0",
|
"flake8==7.3.0",
|
||||||
"pre-commit==4.5.0",
|
"pre-commit==4.5.0",
|
||||||
"ruff==0.14.8",
|
"ruff==0.14.8",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue