Commit Graph

3636 Commits

Author SHA1 Message Date
correctmost 7776f82cbc
Reduce the max line length from 220 to 160 by wrapping some lines (#2867)
This will make it easier to auto-format import sections.
2024-11-19 07:50:53 +11:00
utuhiro78 89425912b9
Update Japanese translation (#2869) 2024-11-18 22:01:18 +11:00
correctmost 80b4dab092
Remove remaining Optional and Union usage from the codebase (#2868) 2024-11-18 20:59:08 +11:00
correctmost 97d6d84c3c
Replace most Union[] instances with pipe syntax (#2843) 2024-11-18 20:07:14 +11:00
correctmost 9626965982
Remove remaining deprecated typing.Dict and typing.List usage (#2859) 2024-11-18 20:02:35 +11:00
Daniel Girtler 41e5a0fcfd
Fixes 2849 (#2862) 2024-11-18 09:54:29 +01:00
Daniel Girtler f648eb6d66
Fix 2860 (#2863) 2024-11-18 09:52:32 +01:00
correctmost d79e082837
Remove outdated formatting note from contributors doc (#2857)
Binary operators are formatted consistently as of 6102a08c.
2024-11-18 09:04:44 +11:00
codefiles 6ca80d1fd7
Fix partition creation size end (#2858) 2024-11-18 09:04:12 +11:00
codefiles 8fc3dc4358
Parse lsblk data with pydantic (#2775) 2024-11-18 07:42:09 +11:00
Franco Castillo 74fd463873
Update Spanish translation (#2853) 2024-11-18 07:22:21 +11:00
summoner001 0c9064d6ad
Update Hungarian Translation (#2852)
Translate new strings
2024-11-18 07:22:04 +11:00
codefiles 80bba6c52b
Fix partition creation default size (#2856) 2024-11-18 07:20:12 +11:00
codefiles fad97e8465
Fix EditMenu input text (#2855) 2024-11-18 07:18:42 +11:00
utuhiro78 5aa73a5edc
Update Japanese translation (#2854) 2024-11-18 07:17:49 +11:00
Luna Jernberg 242ecc1ed2
Update base.po (#2848)
Update Swedish translation for 3.0
2024-11-17 12:07:38 +01:00
Anton Hvornum c16df5d80e
Bump to version 3.0.0 (#2847) 2024-11-17 10:02:51 +01:00
codefiles 68e2d8c3fa
Fix _mount_luks_partition() (#2838) 2024-11-17 09:40:52 +01:00
correctmost 80ad332d31
Enable multiple-statements-on-one-line-colon rule and fix warnings (#2845) 2024-11-17 19:39:14 +11:00
correctmost f783042e28
Only skip unused-import checks in __init__.py files (#2844)
This will help catch unused imports in other files when using Ruff.
2024-11-17 12:08:51 +11:00
correctmost f13f3d53b6
Enable arguments-renamed Pylint rule and fix warnings (#2842) 2024-11-17 11:03:18 +11:00
correctmost 0dc77f8e8a
Replace more Optional instances with union syntax in lib/ (#2841) 2024-11-17 11:01:57 +11:00
correctmost 57e4362a49
Remove unreachable return statement in _handle_interrupt (#2840) 2024-11-17 11:00:16 +11:00
correctmost 6383b5e82f
Replace Optional with union syntax in scripts/ and tui/ (#2839) 2024-11-17 09:49:10 +11:00
correctmost 25172bd0f8
Start replacing Optional with union syntax in lib/ (#2837) 2024-11-17 09:03:01 +11:00
correctmost 8cda091e6d
Start replacing Optional with union syntax (UP007 rule in Ruff) (#2836) 2024-11-17 09:02:08 +11:00
Anton Hvornum 58e4a94fdf
Converting systemctl call to a simple ln call for debus reasons (#2835)
* Converting systemctl call to a simple ln call for debus reasons #2764
2024-11-16 18:55:21 +01:00
correctmost 87fe1dbd8a
Enable most of the pyupgrade checks in Ruff (#2834) 2024-11-16 21:21:10 +11:00
correctmost 9bed81522d
Fix unnecessary-class-parentheses (UP039) Ruff warning (#2833) 2024-11-16 20:55:17 +11:00
correctmost b96194d51a
Fix super-call-with-parameters (UP008) Ruff warning (#2832) 2024-11-16 20:54:46 +11:00
correctmost 44eb7f92e9
Fix useless-object-inheritance (UP004) Ruff warning (#2831) 2024-11-16 20:54:14 +11:00
correctmost d644b5cae2
Replace deprecated socket.error exception with OSError (#2830)
This warning was raised by the UP024 rule in Ruff.
2024-11-16 20:53:43 +11:00
Daniel Girtler 0f2e00952f
Remove redundant simple-term-menu package (#2824)
* Remove redundant simple-term-menu package

* Update PKGBUILD

Added missing python package (this simply reflects a change in upstream PKGBUILD)

---------

Co-authored-by: Anton Hvornum <torxed@archlinux.org>
2024-11-16 10:53:33 +01:00
correctmost 2d6eef4672
Fix redundant-open-modes (UP015) warnings from Ruff (#2828) 2024-11-16 20:52:55 +11:00
correctmost 44f4bc8612
Use union syntax for isinstance checks (UP038 rule in Ruff) (#2829) 2024-11-16 10:47:01 +01:00
Daniel Girtler b61b5c82fa
Simplify translation call in f-string (#2826) 2024-11-16 10:46:33 +01:00
correctmost 2408b597be
Enable the E128 flake8 rule for all code except for __init__.py (#2827)
This commit also fixes a few files that had non-uniform indentation.
2024-11-16 19:34:29 +11:00
correctmost 6102a08c6d
Enable the W504 binary operator rule in flake8 (#2825) 2024-11-16 18:57:08 +11:00
correctmost 3d2673ac78
Enable the Pylint-warnings rules in Ruff (#2823)
The rule implementations can differ between Ruff and Pylint, so
enable them both for maximum coverage.
2024-11-16 18:28:00 +11:00
correctmost ecad6762e5
Fix some mypy warnings in the lib/ directory (#2822) 2024-11-16 18:27:26 +11:00
correctmost c682ddf391
Enable the E123 closing bracket rule in flake8 (#2812) 2024-11-16 18:23:52 +11:00
goose3228 a0d88f5ee2
Warn user when UEFI is disabled (#2806) 2024-11-16 18:23:08 +11:00
correctmost a71fe41585
Remove unnecessary mypy overrides for lib/models/mirrors.py (#2821) 2024-11-16 17:07:49 +11:00
correctmost 1af5135013
Enable the flake8-implicit-str-concat Ruff rules (#2819) 2024-11-16 17:07:14 +11:00
correctmost 3b3dca7bc1
Enable the UP025 Ruff rule to flag unnecessary Unicode prefixes (#2820) 2024-11-16 14:04:15 +11:00
correctmost 01b72b9293
Remove most of the remaining deprecated typing imports (#2818) 2024-11-16 14:01:24 +11:00
correctmost e23e5e7f2a
Enable stricter global mypy defaults (#2817)
Some checks only need to be disabled for the lib/ directory now.
2024-11-16 13:56:43 +11:00
correctmost a4935bdd10
Fix mypy warnings in the tui/ directory (#2816) 2024-11-16 12:00:31 +11:00
correctmost 316711d261
Enable flake8-datetimez and flake8-future-annotations Ruff checks (#2815) 2024-11-16 11:59:09 +11:00
correctmost 091a070e4e
Enable the f-string-without-interpolation Pylint rule (#2814) 2024-11-16 11:58:23 +11:00