Skip to content

chore(deps): update dependency djlint to v1.40.4#38428

Open
GiteaBot wants to merge 2 commits into
mainfrom
renovate/python-dependencies
Open

chore(deps): update dependency djlint to v1.40.4#38428
GiteaBot wants to merge 2 commits into
mainfrom
renovate/python-dependencies

Conversation

@GiteaBot

Copy link
Copy Markdown
Collaborator

This PR contains the following updates:

Package Change Age Confidence
djlint ==1.40.1==1.40.4 age confidence

Release Notes

djlint/djLint (djlint)

v1.40.4

Compare Source

Fix
  • Keep Jinja comments and set tags idempotently indented with preserve_leading_space.
  • Avoid false H026 reports when id appears inside quoted attribute values.
  • Avoid false D018/J018 reports for action parameters inside quoted template URL helper attributes.
  • Report H007 when leading template tags appear before an HTML tag without a preceding doctype.
  • Keep blank_line_after_tag from inserting blank lines inside multiline HTML attribute values, preserving idempotent reformatting for embedded template tags.
  • Report T003 when {% endblock name %} does not match its opening {% block name %}.
  • Report H025 when list tags are nested inside <p> tags.

v1.40.3

Compare Source

Fix
  • Preserve djlint:off blocks inside tag attributes and avoid false H025 orphan reports when a matching tag crosses a djlint:off block boundary.
  • Keep repeated single-line Django {% if %} blocks idempotent after one reformat pass.

v1.40.2

Compare Source

Fix
  • Keep multiline inline-tag indentation when an inline child appears before following text.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Only on Monday (* * * * 1)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

@GiteaBot GiteaBot added dependencies lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Jul 13, 2026
@github-actions github-actions Bot added the skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. label Jul 13, 2026
@GiteaBot GiteaBot force-pushed the renovate/python-dependencies branch from 5d3ca94 to 1bce551 Compare July 13, 2026 07:46
@GiteaBot GiteaBot force-pushed the renovate/python-dependencies branch from 1bce551 to df1cc84 Compare July 14, 2026 09:21
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Jul 14, 2026
djlint 1.40.4 adds rule H025, which flags `<ul>` nested inside `<p>`.
Browsers already auto-close the `<p>` before the list, so this is a
no-op visually.

Assisted-by: Claude:Opus 4.8
@silverwind

silverwind commented Jul 14, 2026

Copy link
Copy Markdown
Member

Fixed two new issues in 4d92eef?w=1, visual output is identical to before in Chromium-based mail renderers, maybe be minimally different in MSIE renderers like MS Outlook, but compatible.

@GiteaBot

Copy link
Copy Markdown
Collaborator Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the Python dev dependency djlint to the latest patch release and refreshes associated lockfile metadata, with resulting template reformatting consistent with updated lint/format behavior.

Changes:

  • Bump djlint from 1.40.1 to 1.40.4 in pyproject.toml.
  • Update uv.lock entries (version, sdist, wheels, requires-dev) for djlint==1.40.4.
  • Reformat affected HTML email templates to match updated djlint formatting output.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
uv.lock Updates locked djlint package metadata to 1.40.4 (sdist/wheels/specifiers).
pyproject.toml Bumps dev dependency pin for djlint to 1.40.4.
templates/mail/repo/release.tmpl Reformat of the downloads list markup consistent with updated djlint behavior.
templates/mail/repo/issue/default.tmpl Reformat of push-action commit list markup consistent with updated djlint behavior.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread templates/mail/repo/release.tmpl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies lgtm/need 1 This PR needs approval from one additional maintainer to be merged. skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants