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

Type fixes for versioning.py #1150

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,
  • other minor fixes.

Two unresolved lines still reference the core/xml.py file removed in e43eee0. This doesn't cause runtime errors because the code in versioning.py is currently unreachable (see PR #1133; this is possibly the reason behind issue #1051).

- use the _Element/_ElementTree class instead of the
  Element/ElementTree factory for typing
- expect None values returned by lxml
- other minor fixes
@diegogangl diegogangl added the maintainability Automated tests suite, tooling, refactoring, or anything that makes it easier for developers label Nov 1, 2024
@diegogangl
Copy link
Contributor

Merging, thanks!

@diegogangl diegogangl merged commit 0925ba9 into getting-things-gnome:master Nov 1, 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