Add some missing type hints. (It looks like Plugin.missing_dbus is never actually updated, maybe it can be removed once we are sure that we don't need it. The current type hint is based on an older code version.)
Add a typing stub for core/info.py.in.
Introduce TMP_KEYWORDS to avoid changing types.
Simplify TaskTagSorter.get_first_letter to resolve a missing return error. (Based on my micro-benchmarks, it is still performant.)
The changes are as follows:
Plugin.missing_dbus
is never actually updated, maybe it can be removed once we are sure that we don't need it. The current type hint is based on an older code version.)core/info.py.in
.TMP_KEYWORDS
to avoid changing types.TaskTagSorter.get_first_letter
to resolve a missing return error. (Based on my micro-benchmarks, it is still performant.)