Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor type fixes for core #1156

Merged

Conversation

gycsaba96
Copy link
Contributor

The changes are as follows:

  • 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.)

- add some missing type hints
- 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
@diegogangl diegogangl added the maintainability Automated tests suite, tooling, refactoring, or anything that makes it easier for developers label Nov 11, 2024
@diegogangl
Copy link
Contributor

LGTM, Thanks!

@diegogangl diegogangl merged commit ebf8706 into getting-things-gnome:master Nov 11, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintainability Automated tests suite, tooling, refactoring, or anything that makes it easier for developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants