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:
renovate[bot] 2025-12-06 21:40:37 +11:00 committed by GitHub
parent 601e033188
commit 8872f98c8d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@ class U2FLoginConfiguration:
def parse_arg(args: U2FLoginConfigSerialization) -> 'U2FLoginConfiguration | None':
u2f_login_method = args.get('u2f_login_method')
if u2f_login_method is None:
if not u2f_login_method:
return None
u2f_config = U2FLoginConfiguration(u2f_login_method=U2FLoginMethod(u2f_login_method))

View File

@ -201,7 +201,7 @@ class User:
elif enc_password:
password = Password(enc_password=enc_password)
if username is None or password is None:
if not username or password is None:
continue
user = User(

View File

@ -33,7 +33,7 @@ Source = "https://github.com/archlinux/archinstall"
[project.optional-dependencies]
log = ["systemd_python==235"]
dev = [
"mypy==1.18.2",
"mypy==1.19.0",
"flake8==7.3.0",
"pre-commit==4.5.0",
"ruff==0.14.8",