Commit Graph

3891 Commits

Author SHA1 Message Date
correctmost 4938d79873
Fix a blanket type ignore comment (#3258)
This commit allows the ignore-without-code mypy warning to be
enabled. It also allows the pygrep-hooks ruff rules to be enabled.
2025-03-14 09:06:36 +11:00
correctmost b6983a2d5a
Enable additional mypy error codes (#3257) 2025-03-14 08:16:27 +11:00
renovate[bot] 933f2c8cd4
fix(deps): update dependency ruff to v0.10.0 (#3256)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-14 08:16:05 +11:00
renovate[bot] 6c9462e9cf
chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.10.0 (#3255)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-14 08:15:49 +11:00
correctmost 83c3a76197
Enable import checks in __init__.py files with Pylint (#3253) 2025-03-13 15:17:45 +11:00
correctmost f100e5110d
Use __all__ in __init__.py files to fix unused-import warnings (#3252)
This commit allows ruff and flake8 ignores to be removed. It also
allows mypy to be run in strict mode by default.
2025-03-13 14:19:05 +11:00
correctmost e7ca4f56d5
Remove unneeded flake8 ignore for __init__.py files (#3250) 2025-03-13 08:28:44 +11:00
correctmost 057feacf0e
Remove unused stdlib imports from __init__.py files (#3249) 2025-03-13 08:28:24 +11:00
correctmost 269e6f8e54
Enable most flake8-pyi rules in ruff and fix a warning (#3248) 2025-03-13 08:27:53 +11:00
Daniel Girtler e46aa7c1b0
Add timestamp to logs (#3245) 2025-03-12 18:37:13 +11:00
correctmost 7f88e909c6
Remove unused _set_font code (#3243)
This code has been unused since commit dee792658.
2025-03-11 21:26:08 +11:00
correctmost 0b0dc76558
Fix SysCallError import cycle between exceptions.py and general.py (#3242)
This commit updates SysCallError to accept a worker log argument
instead of an entire SysCommandWorker.
2025-03-11 21:25:25 +11:00
correctmost dbf45e23cc
Introduce a string-specific version of clear_vt100_escape_codes (#3241)
This commit helps fix some existing type errors in the code. It
also helps avoid ~280,000 isinstance calls when opening the
additional packages menu.
2025-03-11 12:11:04 +11:00
correctmost 2819ea02b1
Speed up _count_wchars by avoiding east_asian_width calls (#3240)
This commit helps avoid ~390,000 duplicate east_asian_width calls
when opening the additional packages menu.
2025-03-11 12:10:33 +11:00
correctmost a5fcf21a12
Speed up _parse_package_output by caching normalized key strings (#3239)
This commit helps avoid ~260,000 chained strip(), lower(), and
replace() sequences.
2025-03-10 22:04:41 +11:00
correctmost 624143ed96
Speed up clear_vt100_escape_codes by caching an encode() result (#3238)
This commit helps avoid ~280,000 redundant encode() calls when
opening the additional packages menu.
2025-03-10 22:03:29 +11:00
Daniel Girtler 55941cc40e
Fix package text (#3236) 2025-03-10 22:02:40 +11:00
Daniel Girtler 12562f4cae
Add newline after countdown (#3237) 2025-03-10 22:02:26 +11:00
Carlo Teubner 24f479892f
guided.rst: fix formatting & typos (#3235) 2025-03-09 20:57:56 +11:00
renovate[bot] c9ebf3c881
fix(deps): update dependency pylint to v3.3.5 (#3234)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-09 20:53:21 +11:00
correctmost 6a90760e67
Clean up most no-implicit-reexport warnings from mypy (#3233)
This makes it easier to run mypy --strict from the command line
and should hopefully make it easier to clean up import cycles in
future commits.
2025-03-09 19:50:56 +11:00
renovate[bot] 01f1cd314f
fix(deps): update dependency ruff to v0.9.10 (#3231)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-08 10:02:29 +11:00
renovate[bot] cdf846eee8
chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.9.10 (#3230)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-08 10:02:13 +11:00
Yaron Shahrabani cf75a38a28
Update Hebrew translation. (#3229) 2025-03-06 21:47:33 +11:00
correctmost 54d426e54c
Fix Pyright warning with urllib.parse (#3228) 2025-03-06 18:23:43 +11:00
correctmost 9a3ec27645
Fix repositories typo in debug message (#3227) 2025-03-06 18:23:18 +11:00
correctmost 49347c2f82
Fix falsy-dict-get-fallback ruff warning (#3226) 2025-03-06 13:05:59 +11:00
Daniel Girtler 697ccd1ac5
Fix 2379 - Mirror and region definitions (#3223)
* Fix 2379 - Mirror and repository settings

* Fix alignment
2025-03-05 22:19:50 +11:00
correctmost 5f7b16b152
Remove some Any instances from the codebase (#3221) 2025-03-03 08:24:36 +11:00
renovate[bot] d6ee5a66b2
fix(deps): update dependency pytest to v8.3.5 (#3220)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-03 07:33:59 +11:00
correctmost d9ac33dbe8
Fix a non-pep695-generic-function ruff warning (#3218) 2025-03-02 22:01:56 +11:00
correctmost ddbd465a34
Remove python-simple-term-menu installation from build_iso.sh (#3217)
The dependency is no longer needed as of 0f2e0095.
2025-03-02 10:43:46 +11:00
Alexmelman88 1e830c16a6
Update Russian translation (#3216) 2025-03-02 10:43:10 +11:00
correctmost 70c6a10c3c
Add missing typing.override annotation reported by Pyright (#3215) 2025-03-02 10:41:21 +11:00
correctmost f94e8b8984
Fix Pyright warnings with importlib.util (#3214) 2025-03-02 10:40:53 +11:00
correctmost 1c6085f86c
Fix Pyright warning with curses.textpad (#3213) 2025-03-02 10:40:20 +11:00
renovate[bot] 4f72c0177b
fix(deps): update dependency ruff to v0.9.9 (#3210)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-02 10:39:37 +11:00
renovate[bot] c2672aaa79
chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.9.9 (#3209)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-02 10:39:09 +11:00
mintsuki 98d604d097
Do not enable UKI at archinstall start if using BIOS (#3208) 2025-03-02 10:38:38 +11:00
mintsuki 645e8d0144
Enable UKI support for the Limine bootloader option (#3207) 2025-03-02 10:33:07 +11:00
mintsuki 0b551d729e
Do not force install GRUB on BIOS when not chosen as bootloader (#3206) 2025-03-02 10:22:27 +11:00
correctmost 142883c9c3
Fix typing syntax for multiple string literals (#3212) 2025-03-01 17:20:42 +11:00
correctmost d6ea7b011f
Fix a used-dummy-variable ruff warning (#3203) 2025-02-26 07:35:25 +11:00
Daniel Girtler 1ddc74af21
Remove debug output for all commands (#3201) 2025-02-25 11:20:43 +01:00
Daniel Girtler 245b84194a
Remove duplicate loading of archinstall (#3200) 2025-02-25 20:31:38 +11:00
Daniel Girtler 74b41dea96
Add additional package selector (#3196) 2025-02-24 17:57:26 +11:00
codefiles 4a477351e0
Fix manual partitioning device wipe status (#3198) 2025-02-24 12:18:14 +11:00
codefiles 4b07f8a3ae
Rework default partition table (#3197) 2025-02-23 21:16:11 +01:00
Daniel Girtler 8b375c97a5
Fix version parsing for local branches (#3190)
* Fix version parsing for local branches

* Fix tests

* Fix tests
2025-02-23 09:44:25 +01:00
codefiles a51475e0ed
Refactor default partition table (#3194) 2025-02-23 18:51:25 +11:00