Solaar/lib/solaar
MattHag 1afcfe4b57
refactor: use IntEnum for firmware and cidgroup constances
* Refactor: test_named_ints_flag_names

Shorten test and clarify behavior using binary numbers.

* Introduce plain flag_names function

This replicates the NamedInts functionality as plain function.

* Refactor FeatureFlag to use IntFlag

Replace NamedInts implementation with IntFlag enum and plain flag_names
function.

Related #2273

* Refactor FirmwareKind to use IntEnum

- Move general FirmwareKind to common module.
- Replace NamedInts implementation with IntEnum.
- Harden related HIDPP 1.0 get_firmware test.

Related #2273

* Refactor CID_GROUP, CID_GROUP_BIT to use IntEnum

Related #2273
2024-10-23 16:25:35 -04:00
..
cli refactor: use IntEnum for firmware and cidgroup constances 2024-10-23 16:25:35 -04:00
ui ui: fix initialization bug for PackedRangeControl 2024-10-22 14:31:13 -04:00
__init__.py Fix warnings from automatic code inspections 2024-10-11 07:42:38 -04:00
configuration.py Clean up imports (#2537) 2024-07-15 08:37:18 -04:00
dbus.py solaar: Add type hints 2024-10-08 14:35:16 -04:00
gtk.py Fix warnings from automatic code inspections 2024-10-11 07:42:38 -04:00
i18n.py solaar: clean up locale code 2024-06-01 12:09:55 -04:00
listener.py Fix warnings from automatic code inspections 2024-10-11 07:42:38 -04:00
tasks.py Clean up imports (#2537) 2024-07-15 08:37:18 -04:00
version release 1.1.13 2024-05-11 11:35:41 -04:00