Closed correctmost closed 1 week ago
This PR brings us closer to enabling Ruff's UP035 rule. Here's what remains:
$ ruff check --select=UP035 --output-format=concise . archinstall/lib/disk/device_handler.py:9:1: UP035 [*] Import from `collections.abc` instead: `Iterable` archinstall/lib/disk/device_handler.py:9:1: UP035 `typing.List` is deprecated, use `list` instead archinstall/lib/disk/device_handler.py:9:1: UP035 `typing.Dict` is deprecated, use `dict` instead archinstall/lib/disk/device_model.py:11:1: UP035 `typing.List` is deprecated, use `list` instead archinstall/lib/disk/device_model.py:11:1: UP035 `typing.Dict` is deprecated, use `dict` instead
I can fix those warnings after https://github.com/archlinux/archinstall/pull/2775 is reviewed and merged.
PR Description:
This PR brings us closer to enabling Ruff's UP035 rule. Here's what remains:
I can fix those warnings after https://github.com/archlinux/archinstall/pull/2775 is reviewed and merged.
Tests and Checks