Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 5, 2024
1 parent 151f51e commit 620b816
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions blackdoc/tests/data/utils.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
def from_dict(labels):
line_ranges = tuple(
(lineno - 1, lineno)
if not isinstance(lineno, tuple)
else tuple(n - 1 for n in lineno)
(
(lineno - 1, lineno)
if not isinstance(lineno, tuple)
else tuple(n - 1 for n in lineno)
)
for lineno in labels.keys()
)
line_labels = tuple(labels.values())
Expand Down

0 comments on commit 620b816

Please sign in to comment.