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

Fix typing errors in firstrun_tasks.py #1134

Merged

Conversation

gycsaba96
Copy link
Contributor

The changes are as follows:

  • use the _Element/_ElementTree class instead of the Element/ElementTree factory for typing
  • expect None values returned by lxml
  • add type hints to the default tasks
  • fix the return type of the generate function

- use the _Element/_ElementTree class instead of the
  Element/ElementTree factory for typing
- expect None values returned by lxml
- add type hints to the default tasks
- fix the return type of the generate function
@diegogangl
Copy link
Contributor

LGTM, thanks!

@diegogangl diegogangl merged commit 8129230 into getting-things-gnome:master Sep 2, 2024
1 check passed
@diegogangl diegogangl added enhancement maintainability Automated tests suite, tooling, refactoring, or anything that makes it easier for developers labels Sep 2, 2024
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