Commit Graph

148 Commits

Author SHA1 Message Date
renovate[bot] 59b90d65a1
fix(deps): update dependency ruff to v0.9.3 (#3141)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-24 09:58:55 +11:00
renovate[bot] 2bd4344d43
fix(deps): update dependency pre-commit to v4.1.0 (#3131)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-21 12:17:25 +11:00
renovate[bot] 99fe401979
fix(deps): update dependency ruff to v0.9.2 (#3125)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-17 09:28:17 +11:00
correctmost c94d0a56d9
Enable most flake8-commas rules in ruff and fix warning (#3122) 2025-01-15 16:30:13 +11:00
correctmost c0a2de4330
Enable the set-attr-with-constant ruff rule and fix warnings (#3114) 2025-01-12 15:02:06 +11:00
correctmost fd77b5d4ce
Enable the strip-with-multi-characters ruff rule (#3112)
Commit 4212357c6 fixed the remaining warnings.
2025-01-12 12:39:10 +11:00
correctmost 457e790bd0
Enable most flake8-bugbear rules in ruff (#3110) 2025-01-12 11:51:06 +11:00
correctmost e7f2a8c203
Fix some mypy warnings in archinstall/lib/ (#3103) 2025-01-11 15:44:43 +11:00
renovate[bot] 39c7eda352
fix(deps): update dependency ruff to v0.9.1 (#3097)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-11 15:37:33 +11:00
renovate[bot] ad015033b8
fix(deps): update dependency ruff to v0.9.0 (#3095)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 08:21:18 +11:00
renovate[bot] 2778ca60f6
fix(deps): update dependency pydantic to v2.10.5 (#3092)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 08:19:21 +11:00
correctmost 10a12dc855
Fix mutable-class-default ruff warnings (#3087) 2025-01-08 10:23:07 +11:00
renovate[bot] 34ef6527ce
fix(deps): update dependency pylint-pydantic to v0.3.5 (#3086)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-08 07:52:24 +11:00
correctmost 25b7bbb0ed
Add if-key-in-dict-del ruff rule to ignore list (#3082)
The rule is concerned with code style rather than correctness or
performance.
2025-01-08 07:41:25 +11:00
renovate[bot] 984fa6af46
fix(deps): update dependency ruff to v0.8.6 (#3074)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-08 07:34:31 +11:00
renovate[bot] f1f08c811b
fix(deps): update dependency ruff to v0.8.5 (#3064)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-03 15:52:58 +11:00
renovate[bot] cb6417be6e
fix(deps): update dependency mypy to v1.14.1 (#3057)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-03 14:13:00 +11:00
renovate[bot] 77f5b075b6
fix(deps): update dependency pylint to v3.3.3 (#3046)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-03 14:12:46 +11:00
renovate[bot] a8c2a5a54f
fix(deps): update dependency mypy to v1.14.0 (#3036)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-22 10:38:20 +11:00
renovate[bot] 5a82ce7719
Update dependency ruff to v0.8.4 (#3029)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-20 12:01:09 +11:00
renovate[bot] 05441a4c11
Update dependency pydantic to v2.10.4 (#3026)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-19 17:50:14 +11:00
renovate[bot] 7b09c5a7ca
Update dependency ruff to v0.8.3 (#3018)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-15 09:18:03 +11:00
renovate[bot] 27df486dda
Update dependency pylint-pydantic to v0.3.4 (#3017)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-09 15:54:31 +11:00
renovate[bot] 2d4128fd84
Update dependency ruff to v0.8.2 (#3001)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-06 17:17:03 +11:00
renovate[bot] 89cd718462
Update dependency pydantic to v2.10.3 (#2999)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-04 21:05:29 +11:00
renovate[bot] 03e41d3721
Update dependency pylint to v3.3.2 (#2992)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-02 18:18:21 +11:00
renovate[bot] 7d0acbcc6d
Update dependency pylint-pydantic to v0.3.3 (#2995)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-02 18:17:52 +11:00
renovate[bot] ac75dda390
Update dependency pytest to v8.3.4 (#2989)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-02 13:12:05 +11:00
correctmost 60842bd1cf
Enable bare-except linter rules and fix warnings (#2988) 2024-12-01 18:34:51 +11:00
correctmost 0bc2ad700f
Enable the "unreachable" pylint warning and remove unused code (#2987)
The os.fsync call causes an "invalid argument" OSError when it
actually runs, so it has been removed altogether.

Closes #2773
2024-12-01 18:34:00 +11:00
correctmost fcf9658f8f
Disable some rules that warn when using ruff's preview mode (#2985) 2024-12-01 17:50:33 +11:00
correctmost 8fa5ec15af
Enable the yield-in-for-loop ruff rule and fix warnings (#2984) 2024-12-01 17:50:11 +11:00
correctmost af043afa88
Enable the unnecessary-lambda pylint rule and fix warnings (#2983) 2024-12-01 17:44:39 +11:00
correctmost 760963f7a6
Enable the unused-variable pylint rule and fix warnings (#2978) 2024-12-01 17:41:34 +11:00
correctmost 6a6642a9c1
Replace some Any instances with specific type hints (#2973) 2024-12-01 09:17:10 +11:00
correctmost 0a1d036750
Remove unused VersionDef class (#2972)
This allows the comparison-with-callable pylint rule to be enabled.
2024-12-01 08:40:38 +11:00
correctmost 11f8490b59
Enable the bad-indentation pylint rule and fix space indentations (#2968) 2024-11-30 22:54:53 +11:00
correctmost 1e6492d34a
Enable the printf-string-formatting ruff rule and fix warnings (#2967) 2024-11-30 22:54:20 +11:00
correctmost b0222111f5
Enable the redefined-builtin pylint rule and fix warnings (#2966) 2024-11-30 22:53:54 +11:00
renovate[bot] 6f42eba2f4
Update dependency ruff to v0.8.1 (#2955)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-30 22:52:03 +11:00
correctmost 604526c3c8
Enable the f-string ruff rule and fix warnings (#2965) 2024-11-30 20:03:09 +11:00
correctmost d4c04a83a3
Enable the redefined-outer-name pylint rule and fix warnings (#2964) 2024-11-30 20:01:38 +11:00
correctmost 544400606f
Enable mypy checks for tests/ files (#2963) 2024-11-30 20:00:35 +11:00
correctmost 2825818af6
Enable useless-parent-delegation pylint rule and fix warnings (#2962) 2024-11-30 19:59:28 +11:00
correctmost 80eebcff4f
Enable the explicit-f-string-type-conversion rule and fix warnings (#2954) 2024-11-29 06:43:13 +11:00
renovate[bot] 7b291a6681
Update dependency pydantic to v2.10.2 (#2942)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-28 22:45:34 +11:00
correctmost e3ff449bc4
Enable the Ruff-specific ruleset (#2951) 2024-11-28 20:15:30 +11:00
correctmost f314b7be54
Replace some Any instances with specific type hints (#2950) 2024-11-28 20:14:58 +11:00
renovate[bot] 8646c9aac2
Update dependency pytest to v8 (#2941)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-27 18:05:12 +11:00
Daniel Girtler e51f7adf21
Dataclasses for args and config (#2936)
* Introduce dataclass for arguments and configuration

* Update

* Update
2024-11-26 11:08:36 +01:00