Skip to content

chore(deps): update pre-commit hook djlint/djlint to v1.48.0 (main) - #22495

Merged
renovate[bot] merged 2 commits into
mainfrom
renovate/main-djlint-djlint-1.x
Oct 31, 2026
Merged

renovate[bot] merged 2 commits into
mainfrom
renovate/main-djlint-djlint-1.x

Conversation

@renovate

@renovate renovate Bot commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
djlint/djLint repository minor v1.47.1 → v1.48.0

Note: The pre-commit manager in Renovate is not supported by the pre-commit maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.


Release Notes

djlint/djLint

v1.48.0

Compare Source

Feature
  • Add djlint.api, a supported way to format and lint text from Python: load_config(), format_text() and lint_text(), which returns findings with numeric positions. See Python API.
  • A finding now knows where it ends. --linter-output-format takes {end}, SARIF reports endLine and endColumn, and GitHub annotations cover the whole finding. A custom rule's python_module can return end, and otherwise ends where its match does.
  • A custom rule's python_module is also looked for in the project root, after everything else on the path, so it works with the djlint command as well as with python -m djlint.
Changed
  • A python_module rule that returns a line that isn't a position now stops djLint with an error naming the rule, instead of a traceback from the report.
Fix
  • A tag whose attributes are spread over several lines, but that doesn't start its line, as in <li><a …> or Read the <a …>, is laid out from that line. The attributes line up under the first one, or with --single-attribute-per-line sit one indent in from the line with the closing > at the line's indent. They used to be indented as if the tag started the line, so they landed left of the tag, or a single space in after text.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Only on Saturday (* * * * 6)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR becomes conflicted, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies PR: Third-party library dependencies. label Oct 31, 2026
@renovate
renovate Bot enabled auto-merge (rebase) October 31, 2026 17:36
@renovate

renovate Bot commented Oct 31, 2026

Copy link
Copy Markdown
Contributor 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.

@renovate
renovate Bot merged commit 7234be8 into main Oct 31, 2026
36 of 37 checks passed
@renovate
renovate Bot deleted the renovate/main-djlint-djlint-1.x branch October 31, 2026 19:30
@nijel nijel added this to the 2026.11 milestone Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies PR: Third-party library dependencies.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant