Skip to content

Commit

Permalink
style: Fix print-empty-string (FURB105) (#4029)
Browse files Browse the repository at this point in the history
  • Loading branch information
echoix committed Jul 11, 2024
1 parent 204903c commit 3ef2715
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ ignore = [
"FBT003", # boolean-positional-value-in-call
"FURB101", # read-whole-file
"FURB103", # write-whole-file.
"FURB105", # print-empty-string
"FURB118", # reimplemented-operator
"FURB129", # readlines-in-for
"FURB131", # delete-full-slice
Expand Down
6 changes: 3 additions & 3 deletions utils/generate_release_notes.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def print_category(category, changes, file=None):
for item in itertools.chain(overflow, hidden):
print(f" * {item}", file=file)
print("\n</details>")
print("")
print()


def print_by_category(changes, categories, file=None):
Expand Down Expand Up @@ -141,7 +141,7 @@ def print_support(file=None):
for member in data:
supporters.append(f"""[{member['name']}]({member['profile']})""")
print(", ".join(supporters))
print("")
print()


def adjust_after(lines):
Expand Down Expand Up @@ -198,7 +198,7 @@ def print_notes(
print_by_category(changes_by_category, categories=categories, file=file)
if after:
print(after)
print("")
print()
print(binder_badge(end_tag))


Expand Down

0 comments on commit 3ef2715

Please sign in to comment.