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

Simple typing fixes for tasks.py #1120

Merged
merged 2 commits into from
Jul 3, 2024

Conversation

gycsaba96
Copy link
Contributor

The main changes are as follows:

  • use the _Element class instead of the Element factory for typing
  • expect None values often used by lxml
  • rename the title setter to set_title
  • fix default value for duplicate_cb

This fixes every typing error mypy indicates except for the signature errors of some overrides. (I want to investigate the saved searches before looking into those.)

- use the _Element class instead of the Element factory for typing
- expect None values often used by lxml
- rename 'title' setter to 'set_title'
- fix default value for duplicate_cb
- other minor fixes
@diegogangl diegogangl added enhancement maintainability Automated tests suite, tooling, refactoring, or anything that makes it easier for developers labels Jul 3, 2024
@diegogangl diegogangl merged commit 6470b85 into getting-things-gnome:master Jul 3, 2024
1 check passed
@diegogangl
Copy link
Contributor

Merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 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