Commit Graph

3612 Commits

Author SHA1 Message Date
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
correctmost c87c723549
Remove most deprecated typing.Dict usage (#2813) 2024-11-16 11:57:46 +11:00
correctmost d9fa2718ec
Make mypy checks more strict for lib/ and tui/ directories (#2811) 2024-11-16 10:14:25 +11:00
correctmost dff101e279
Remove most deprecated typing.List usage (#2810) 2024-11-16 10:13:51 +11:00
renovate[bot] 360118f68f
fix(deps): update dependency ruff to v0.7.4 (#2808)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-16 08:31:58 +11:00
renovate[bot] 3ec4b86409
chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.7.4 (#2807)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-16 07:48:30 +11:00
correctmost 1b40067e5a
Enable the expression-not-assigned Pylint rule (#2809)
Commit 88b91ae201 fixed the last instance that existed in the
codebase.
2024-11-16 07:47:59 +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
Jack Desert 591b8317ea
Notify user of LOG_PATH upon completion (#2804)
Co-authored-by: jack <jack>
2024-11-15 13:56:54 +11:00
Thiago Castro 040a6aba27
Package name correction 'xss-lock', i3.py (#2796)
Package name correction 'xss-lock' needed in the base installation of the i3 desktop.

Link to the caused error and related issue:
Issue: https://github.com/archlinux/archinstall/issues/2790
Pull: https://github.com/archlinux/archinstall/pull/2791
Man: https://man.archlinux.org/man/xss-lock.1
2024-11-11 10:57:50 +11:00
Daniel Girtler 28eaa8c0e4
Wait for LVM info to appear (#2778)
* Wait forever for LVM info

* Update
2024-11-09 14:20:25 +01:00
Jack Desert de664dfa39
Include xss-set when installing i3wm (#2791)
Co-authored-by: jack <jack>
2024-11-09 10:16:15 +01:00
Anton Hvornum 4a9aca2f78
Added missing package dependencies related to fs-operations (#2792) 2024-11-09 10:01:25 +01:00
Daniel Girtler 9951c90bf9
Fix local mirror selection (#2789) 2024-11-09 09:49:23 +01:00
renovate[bot] fbc9431697
fix(deps): update dependency ruff to v0.7.3 (#2785)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-09 07:48:01 +11:00
renovate[bot] c8333ee2a6
chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.7.3 (#2784)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-09 07:36:39 +11:00
Vincent 26cf04655a
Document LUKS encryption password in creds-sample.json (#2782) 2024-11-08 07:35:50 +11:00
Vincent 7098a6a848
Document network config in config-sample.json (#2781)
Specifically document the CIDR notation of the IP address
2024-11-07 16:17:32 +01:00
Daniel Girtler 0f4e76f142
Update pre-commit hooks (#2777)
* Add missing pydantic dependencies to pre-commit mypy hook

* Add pylint to pre-commit checks
2024-11-07 13:33:34 +01:00
Daniel Girtler 83ece36ec3
Ignore disk encryption config when no password found (#2779) 2024-11-07 13:08:42 +01:00
correctmost 0370e893ac
Enable the self-assigning-variable Pylint warning (#2772) 2024-11-04 18:34:05 +01:00
Vincent 11987a06d6
Update config-sample.json to comply with the requirements for version 2.8.6 (#2754)
I did not add the 'dev_path' key to each one of the partitions, as this may not be required in the 'default_layout' section, but it was required in my configuration when I chose 'manual_partitioning'.
2024-11-04 14:35:44 +01:00
correctmost aecf3ea553
Add Pylint support and enable Pylint CI checks (#2658) 2024-11-04 14:30:28 +01:00
Suica e3123671bf
Retry when speedtest fails. (#2657) 2024-11-04 12:59:39 +01:00
Daniel Girtler 996b75e18c
Fix issue link reference (#2752) 2024-11-04 12:44:22 +01:00