Skip to content

fix: xml formatting matches the pretty-print lxml setting #219

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

Draft
wants to merge 1 commit into
base: v7.7
Choose a base branch
from

Conversation

shaur-k
Copy link

@shaur-k shaur-k commented Apr 3, 2025

the diffs here are just syncing to the new REST API xml format and one change in our pre-commit settings

@shaur-k shaur-k added this to the 7.6.0 milestone Apr 3, 2025
@shaur-k shaur-k requested review from EzraBrooks and dsobek April 3, 2025 18:08
@shaur-k shaur-k self-assigned this Apr 3, 2025
Comment on lines 84 to 85
# Use Prettier to lint XML files because, well.. its rules are prettier than most linters, as the name implies.
# Also we use it in the UI, so it's familiar.
Copy link
Member

Choose a reason for hiding this comment

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

outdated comment

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8" ?>
<?xml version='1.0' encoding='utf-8'?>
Copy link
Member

Choose a reason for hiding this comment

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

An inconsistency is being introduced in quote style, specifically in XML prologues. Let's hunt this down

Copy link

Choose a reason for hiding this comment

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

Looks like https://github.com/efrecon/pre-commit-hook-lxml?tab=readme-ov-file#cli-options can configure the declaration to use double quotes.

@shaur-k shaur-k changed the base branch from v7.6 to v7.7 April 4, 2025 17:22
@shaur-k shaur-k modified the milestones: 7.6.0, 8.0.0 Apr 16, 2025
@EzraBrooks EzraBrooks marked this pull request as draft April 17, 2025 15:14
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.

3 participants