[pre-commit.ci] pre-commit autoupdate (#358)
This commit is contained in:
parent
64f5789c66
commit
c325803a1f
|
@ -15,12 +15,12 @@ repos:
|
|||
- id: tox-ini-fmt
|
||||
args: ["-p", "fix"]
|
||||
- repo: https://github.com/tox-dev/pyproject-fmt
|
||||
rev: "1.7.0"
|
||||
rev: "1.8.0"
|
||||
hooks:
|
||||
- id: pyproject-fmt
|
||||
additional_dependencies: ["tox>=4.12.1"]
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: "v0.3.7"
|
||||
rev: "v0.4.1"
|
||||
hooks:
|
||||
- id: ruff-format
|
||||
- id: ruff
|
||||
|
|
|
@ -86,7 +86,7 @@ def _render_text_with_unicode(
|
|||
# Without this extra space, bullets will point to the space just before the project name
|
||||
prefix += " " if use_bullets else ""
|
||||
next_prefix = prefix
|
||||
node_str = prefix + bullet + node_str # noqa: PLR6104
|
||||
node_str = prefix + bullet + node_str
|
||||
elif include_license:
|
||||
node_str += " " + node.licenses()
|
||||
|
||||
|
@ -138,7 +138,7 @@ def _render_text_without_unicode(
|
|||
node_str = node.render(parent, frozen=frozen)
|
||||
if parent:
|
||||
prefix = " " * indent + ("- " if use_bullets else "")
|
||||
node_str = prefix + node_str # noqa: PLR6104
|
||||
node_str = prefix + node_str
|
||||
elif include_license:
|
||||
node_str += " " + node.licenses()
|
||||
result = [node_str]
|
||||
|
|
Loading…
Reference in New Issue