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

feat(xmlupload): check if the encoding in the text-prop is consistent (DEV-3296) #818

Conversation

Nora-Olivia-Ammann
Copy link
Collaborator

No description provided.

@Nora-Olivia-Ammann Nora-Olivia-Ammann self-assigned this Feb 20, 2024
Copy link

linear bot commented Feb 20, 2024

Copy link
Collaborator

@jnussbaum jnussbaum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the intention of the PR, and also most of how it is done, but there are 2 main reasons why I'd like to ask you to revise it:

  • the present PR contains some changes from another pending PR
  • there are many parts of the code that could be simplified / made more pythonic (see my comments)

src/dsp_tools/utils/xml_utils.py Show resolved Hide resolved
src/dsp_tools/utils/xml_utils.py Outdated Show resolved Hide resolved
src/dsp_tools/utils/xml_validation.py Outdated Show resolved Hide resolved
src/dsp_tools/utils/xml_validation.py Outdated Show resolved Hide resolved
src/dsp_tools/utils/xml_validation_models.py Outdated Show resolved Hide resolved
test/unittests/utils/test_xml_validation_models.py Outdated Show resolved Hide resolved
test/unittests/utils/test_xml_validation_models.py Outdated Show resolved Hide resolved
test/unittests/utils/test_xml_validation_models.py Outdated Show resolved Hide resolved
test/unittests/utils/test_xml_validation_models.py Outdated Show resolved Hide resolved
test/unittests/utils/test_xml_validation_models.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@jnussbaum jnussbaum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

src/dsp_tools/utils/xml_validation_models.py Show resolved Hide resolved
@Nora-Olivia-Ammann Nora-Olivia-Ammann merged commit 4ae8469 into main Feb 22, 2024
10 checks passed
@Nora-Olivia-Ammann Nora-Olivia-Ammann deleted the wip/dev-3296-feat-check-if-text-prop-encoding-is-consistent branch February 22, 2024 12:42
@daschbot daschbot mentioned this pull request Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants