Repository navigation
chore(deps): update pre-commit hook djlint/djlint to v1.48.0 (main) - #22495
Merged
Merged
Conversation
for more information, see https://pre-commit.ci
Contributor
Author
Edited/Blocked NotificationRenovate 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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.47.1→v1.48.0Note: The
pre-commitmanager in Renovate is not supported by thepre-commitmaintainers 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.0Compare Source
Feature
djlint.api, a supported way to format and lint text from Python:load_config(),format_text()andlint_text(), which returns findings with numeric positions. See Python API.--linter-output-formattakes{end}, SARIF reportsendLineandendColumn, and GitHub annotations cover the whole finding. A custom rule'spython_modulecan returnend, and otherwise ends where itsmatchdoes.python_moduleis also looked for in the project root, after everything else on the path, so it works with thedjlintcommand as well as withpython -m djlint.Changed
python_modulerule that returns alinethat isn't a position now stops djLint with an error naming the rule, instead of a traceback from the report.Fix
<li><a …>orRead the <a …>, is laid out from that line. The attributes line up under the first one, or with--single-attribute-per-linesit 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)
* * * * 6)🚦 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.
This PR was generated by Mend Renovate. View the repository job log.