Commit Graph

3718 Commits

Author SHA1 Message Date
renovate[bot] fbdb3c4f37
Update pre-commit hook astral-sh/ruff-pre-commit to v0.8.2 (#3002)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-06 17:17:49 +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
zbik 3905bfe31a
Update plasma.py (#2998)
changed kwrite to kate as the two packages merged together in 2022 and removed egl-wayland (why was it there in the first place?)
2024-12-03 20:03:42 +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
Michael Ziminsky (Z) 256f206b9e
btrfs improvements and fixes (#2970) 2024-12-01 18:35:30 +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 507e4322d6
Remove unused SysCommand.__json__ method (#2986) 2024-12-01 18:33:22 +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 e0db642366
Fix "selction" typo (#2981) 2024-12-01 17:43:29 +11:00
correctmost b49b5bfa11
Fix "Pssword" typo (#2980) 2024-12-01 17:42:33 +11:00
correctmost 760963f7a6
Enable the unused-variable pylint rule and fix warnings (#2978) 2024-12-01 17:41:34 +11:00
correctmost f578ac4ade
Remove unused argument from GlobalMenu._get_menu_options (#2977) 2024-12-01 17:41:03 +11:00
correctmost eacc28d577
Remove unused argument from AbstractCurses._confirm_interrupt (#2976) 2024-12-01 11:13:04 +11:00
correctmost a8fad93ae0
Add missing typing.override annotations reported by Pyright (#2974)
This commit also removes duplicated code in Viewport._replace_str.
2024-12-01 11:01:16 +11:00
correctmost e33ac034dc
Replace deprecated stage name in pre-commit config (#2975)
This commit fixes the following warning:

"top-level `default_stages` uses deprecated stage names (commit)
which will be removed in a future version."
2024-12-01 11:01:02 +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
renovate[bot] cdd9e0cbcc
Update pre-commit hook astral-sh/ruff-pre-commit to v0.8.1 (#2956)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-30 22:57:01 +11:00
correctmost 007f2ff797
Use TypedDict to annotate disk-related serializations (#2935) 2024-11-30 22:56:46 +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 45bc9c2e65
Use the ruff version specified in pyproject.toml for CI checks (#2960)
Previously, the ruff system package was used, which could lag
behind the PyPI version.
2024-11-30 19:58:10 +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
correctmost e49a679fb8
Enable pytest test runs on CI (#2947)
This commit also fixes fixture and test issues that caused failures.
2024-11-27 17:42:22 +11:00
correctmost a28fb27a7a
Use human-friendly names in mypy and Pylint ignore directives (#2946) 2024-11-27 06:48:38 +11:00
correctmost 7bdef2f017
Fix mypy warnings in tests/test_args.py (#2945) 2024-11-27 06:46:17 +11:00
Daniel Girtler 198efb5f53
Fix 2916 - Reinstate prompt in list menus (#2940)
* Reinstate prompt in list menus

* Ruff
2024-11-26 11:10:48 +01: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
correctmost f2bc5ff280
Remove unused Selector class (#2938)
The code is unused as of 88b91ae201.
2024-11-26 12:22:16 +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 46e4e28294
Bump the minimum Python version to 3.12 (#2933) 2024-11-25 18:45:50 +11:00
correctmost 6c37ba68e2
Remove unused singleton utility code (#2931) 2024-11-25 18:45:01 +11:00
correctmost 9cabc981b2
Remove python-simple-term-menu installations from CI workflows (#2932)
The dependency is no longer needed as of 0f2e0095.
2024-11-25 08:26:09 +01:00