Daniel Girtler
063b9643b4
Add new version indicator in the title of the main menu ( #3587 )
...
* Add new version indicator in the title of the main menu
* Update
2025-06-12 07:14:30 +10:00
correctmost
26c6812827
Remove extraneous None type annotations ( #3522 )
2025-05-28 21:52:43 +10:00
correctmost
c2f4d92fd9
Enable unreachable code checks in lib/ with mypy ( #3521 )
2025-05-28 20:47:40 +10:00
Daniel Girtler
d3f32f308c
Update ruff formatter ( #3496 )
...
* Update ruff formatter
* Update
2025-05-24 07:58:42 +00:00
Daniel Girtler
57bd2451e9
Simplify translating of strings ( #3479 )
...
* Simplify translation fucntion
* Simplify translation fucntion
2025-05-19 22:33:02 +10:00
Daniel Girtler
c67ac97f18
Ruff formatting ( #3459 )
...
* Update
* Update
2025-05-15 14:26:41 +02:00
correctmost
0de90bd55b
Specify menu return types using generics instead of Any ( #3400 )
2025-04-27 13:01:17 +10:00
correctmost
e281c2fa6a
Split out Result and ResultType to break import cycle ( #3387 )
...
Previously, there was an import cycle between tui.menu_item and
tui.types.
2025-04-13 15:06:48 +10: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
Daniel Girtler
b57f7f91cf
Integrate new arguments data structure ( #3167 )
...
* Integrate new args dataclass
* Integrate args
* Update
* Update
* Update
* Update
2025-02-20 07:35:59 +11:00
correctmost
af043afa88
Enable the unnecessary-lambda pylint rule and fix warnings ( #2983 )
2024-12-01 17:44:39 +11:00
correctmost
6a6642a9c1
Replace some Any instances with specific type hints ( #2973 )
2024-12-01 09:17:10 +11:00
correctmost
ee2ed3fe54
Start using typing.override to annotate overridden methods and properties ( #2934 )
2024-11-25 19:51:16 +11:00
correctmost
8d807c08ee
Use precise type hints for most DeferredTranslation references ( #2929 )
...
The remaining "_: Any" instances will require accompanying code
changes.
2024-11-25 18:49:22 +11:00
correctmost
3255744278
Sort and format remaining imports ( #2877 )
...
This commit also enables isort rules in the Ruff config.
2024-11-19 11:18:47 +11:00
correctmost
0dc77f8e8a
Replace more Optional instances with union syntax in lib/ ( #2841 )
2024-11-17 11:01:57 +11:00
correctmost
c87c723549
Remove most deprecated typing.Dict usage ( #2813 )
2024-11-16 11:57:46 +11:00
correctmost
dff101e279
Remove most deprecated typing.List usage ( #2810 )
2024-11-16 10:13:51 +11:00
Daniel Girtler
88b91ae201
Integrate new curses menu ( #2663 )
...
* Edit text menu
* Fix alignment
* Scroll functionality
* Fix flake8
* Migrate locales menu
* Fix language translation
* Fix interrupt
* Fix flake8
* Edit mode preset
* Convert print to tui prints
* Fix mypy
* Fix cycling through long menu
* Fix profile view
* Fix scrolling
* Fix scrolling
* Fix mypy
* Fix swiss script
* Display asterisk for passwords
* Corrected a variable usage in the local mirror parsing
* Made sure that curses menu selection on mirrors use url object from mirror.url instead of the class instance
* Fixed mypy type on mirror list
---------
Co-authored-by: Torxed <torxed@archlinux.org>
2024-11-15 08:23:22 +01:00
correctmost
c7aeead7d2
Fix various mypy errors in archinstall/lib/ ( #2640 )
...
* Fix various mypy errors in archinstall/lib/
* Additional mypy fixes in archinstall/lib/ to pass CI checks
2024-08-28 05:43:54 +10:00
ngn
39d096b79f
Use the current layout instead of the us layout ( #2495 )
...
* use the current layout instead of the us layout
* fix linting erros and add exception handling for SysCommand
2024-05-15 21:41:42 +10:00
codefiles
332ec0d623
Fix reset in locales menu ( #2178 )
2023-10-17 11:21:39 +02:00
codefiles
dc69acd4b4
Fix keyboard layout and timezone menus ( #2153 )
2023-10-09 21:40:59 +11:00
Daniel Girtler
5c903df55f
Simplify SysCommand decoding ( #2121 )
2023-10-02 21:01:23 +11:00
codefiles
b1e0068795
Use `_preset` for defaults in `LocaleMenu` ( #2071 )
...
* Use `_preset` for defaults in `LocaleMenu`
* Fix adjacent typos
2023-09-20 08:04:23 +02:00
Daniel Girtler
06eadb31d4
Move locales and cleanup menu ( #1814 )
...
* Cleanup imports and unused code
* Cleanup imports and unused code
* Update build check
* Keep deprecation exception
* Simplify logging
* Move locale into new sub-menu
---------
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-06-05 10:02:49 +02:00