Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#358)
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] authored Apr 22, 2024
1 parent 64f5789 commit c325803
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/pipdeptree/_render/text.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def aux( # noqa: PLR0913, PLR0917
# 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()

Expand Down Expand Up @@ -138,7 +138,7 @@ def aux(
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]
Expand Down

0 comments on commit c325803

Please sign in to comment.