Commit Graph

4117 Commits

Author SHA1 Message Date
correctmost 2843d01600
Enable stricter mypy definition checks in archinstall/lib/ (#3573) 2025-06-04 07:30:14 +10:00
correctmost 557e1cac0d
Honor the sort_items parameter on MenuItemGroup.from_enum (#3572) 2025-06-03 23:17:42 +10:00
correctmost fafb180ffe
Remove unused arguments from internal functions (#3571)
This makes it easier to run Pylint's unused-argument checks on the
codebase.
2025-06-03 23:17:10 +10:00
renovate[bot] fe9b853d25
fix(deps): update dependency pytest to v8.4.0 (#3570)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-03 08:15:27 +10:00
Daniel Girtler 18ef716b0f
Add sync after installation completed (#3569) 2025-06-02 13:50:34 +02:00
Daniel Girtler 92b384d1d3
Fix restore edit content on help menu close (#3568)
* Fix restore edit content on help menu close

* Update
2025-06-02 10:17:17 +02:00
correctmost fef97bed32
Fix return values used with a Textbox.edit callback in curses (#3566) 2025-06-01 11:43:01 +02:00
correctmost a580da2bbd
Enable the bad-exit-annotation ruff rule and fix related warnings (#3564) 2025-06-01 11:41:34 +02:00
Anton Hvornum 55fd59d94e
Moved python-cryptography from makedepends to depends (#3558) 2025-05-31 13:19:37 +02:00
codefiles dd686b291c
Use PEP 639 license expression (#3556) 2025-05-31 08:25:29 +02:00
correctmost a1b83ad29f
Remove unused _DeferredTranslation methods and references (#3557) 2025-05-31 16:04:23 +10:00
correctmost e245a11463
Remove return value check for Installer.minimal_installation (#3555)
The minimal_installation method always returns None.
2025-05-31 08:20:54 +10:00
renovate[bot] 48c3f6367b
chore(deps): update pre-commit hook pre-commit/mirrors-mypy to v1.16.0 (#3551)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-30 23:33:58 +02:00
lubuoren 47e6d82ee5
Update installer.py (#3540)
Fix the bug of installation failure caused by incorrect service name
2025-05-30 17:04:04 +02:00
codefiles 1dccfe6c33
Rework install log (#3550) 2025-05-30 23:08:02 +10:00
correctmost a5d995b546
Remove underscore from _FrameDim because it's used externally (#3547)
This commit fixes a reportUnusedClass warning from Pyright.
2025-05-30 18:42:00 +10:00
codefiles 16405ab435
Refactor command logs (#3549) 2025-05-30 18:39:20 +10:00
correctmost c2ea6ffe9c
Add type annotations to global storage dictionary (#3548)
This will help catch issues like #3530.
2025-05-30 09:18:17 +02:00
correctmost b689656547
Remove some unnecessary None checks from desktop profile code (#3546)
This commit fixes some warnings reported by Pyright's
reportUnnecessaryComparison checker.
2025-05-30 09:12:49 +02:00
correctmost bd36c0c5d3
Remove workaround for mypy 1.15.0 crash (#3545)
This reverts commit ae38e92100.
2025-05-30 09:12:05 +02:00
correctmost 1b39c7dbad
Remove strict_bytes from the mypy config (#3544)
In mypy 1.16.0, strict mode automatically enables strict_bytes
checks.
2025-05-30 07:32:25 +02:00
Daniel Girtler c2443e8902
Reference guided.py script instead of symlink from README (#3543) 2025-05-30 07:31:54 +02:00
renovate[bot] 5805ea4a3f
chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.11.12 (#3538)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-29 21:36:00 +02:00
renovate[bot] 7b9a658c7b
fix(deps): update dependency ruff to v0.11.12 (#3539)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-29 21:35:35 +02:00
renovate[bot] 46f18baca7
fix(deps): update dependency mypy to v1.16.0 (#3541)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-29 21:33:34 +02:00
Daniel Girtler 8bed035e21
Fix 3530 (#3535)
* Fix 3530

* Update
2025-05-29 13:54:28 +02:00
Daniel Girtler d4b16cb406
Fix 3534 (#3537) 2025-05-29 13:53:22 +02:00
Daniel Girtler 3359779594
Fix 3626 (#3536) 2025-05-29 13:52:34 +02:00
codefiles 7316b56274
Fix empty username (#3533) 2025-05-29 12:17:18 +10:00
codefiles e6a9105df4
Fix empty password (#3531) 2025-05-29 12:13:07 +10:00
correctmost 3da78fcb49
Enable truthy-bool checks in mypy and fix related warnings (#3528) 2025-05-29 12:11:32 +10:00
codefiles b2b36a2cef
Refactor default Btrfs subvolumes (#3525) 2025-05-28 22:45:56 +10:00
codefiles 728fee4a7c
Fix root partition device mapper name (#3524) 2025-05-28 22:02:00 +10:00
correctmost 426650a3c4
Fix invalid-annotation warnings reported by Pyrefly (#3523) 2025-05-28 22:00:52 +10:00
correctmost 26c6812827
Remove extraneous None type annotations (#3522) 2025-05-28 21:52:43 +10:00
Daniel Girtler 52face9254
Fix 3513 (#3520) 2025-05-28 20:47:56 +10:00
correctmost c2f4d92fd9
Enable unreachable code checks in lib/ with mypy (#3521) 2025-05-28 20:47:40 +10:00
Anton Hvornum 2cf7c85728
Bumping version to: 3.0.7 (#3519) 2025-05-28 11:15:59 +02:00
correctmost 5c8721a3a8
Enable unreachable code checks in tui/ with mypy (#3518) 2025-05-28 16:23:06 +10:00
Farhan Ghani 50747a5a71
Updated translation and fixed errors in last translation. (#3515)
* still updating

* Updated urdu translation

Because it is very hard to display urdu fonts in consol. I changed urdu
writing to latin script which is also known as "Roman Urdu". For more
information check out https://en.wikipedia.org/wiki/Roman_Urdu.

* Updated errors and translation

As it is mentioned in #3463 the errors has been rectified and more
translation is added.
2025-05-28 16:19:40 +10:00
correctmost 5aa1c90b12
Enable mypy's show_traceback option in pyproject.toml (#3514)
This makes it easier to debug mypy crashes when running 'mypy'
in the project directory.
2025-05-28 16:19:03 +10:00
codefiles df8cb4fb39
Fix home partition device mapper name (#3516) 2025-05-28 07:27:07 +02:00
Luiz Felipe 7a455cb625
adjust PT-BR translations and remove fuzzy markers (#3511)
* adjust PT-BR translations and remove fuzzy markers

* Add "Luiz Felipe" to pt-BR translators list in archinstall
2025-05-27 07:51:47 +02:00
codefiles c8f1f78679
Remove duplicate LUKS unlock check (#3510) 2025-05-27 13:08:45 +10:00
codefiles 2623039fff
luks: rework is_unlocked() (#3509) 2025-05-27 09:36:23 +10:00
renovate[bot] 9f110849e6
chore(deps): update astral-sh/ruff-action action to v3.4.0 (#3508)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-27 09:35:35 +10:00
Daniel Girtler 8c12d15a41
Fix disk encryption emnu (#3506) 2025-05-26 21:21:30 +10:00
Anton Hvornum 6c7260fa33
Added a more humane error message on no initial network (#3501)
* Added a more humane error message on no initial network

* Fixed ruff complaints
2025-05-25 13:30:47 +02:00
Daniel Girtler 6d1a450440
Fix 2304 (#3503) 2025-05-25 21:25:15 +10:00
Daniel Girtler cdb1debe2e
Move disk encryption into disk config menu (#3502) 2025-05-25 21:23:37 +10:00