Skip to content

Commit

Permalink
Merge pull request #1091 from carmenbianca/first-newline-lint
Browse files Browse the repository at this point in the history
Get rid of newline at start of lint output
  • Loading branch information
carmenbianca authored Oct 17, 2024
2 parents 2d487f1 + 78a2937 commit d942142
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelog.d/fixed/plain-format-output-new-line-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- The plain output of `lint` has been slightly improved, getting rid of an
errant newline. (#1091)
1 change: 0 additions & 1 deletion src/reuse/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ def format_plain(report: ProjectReport) -> str:
output.write(f"* {file}\n")
output.write("\n")

output.write("\n")
output.write("# " + _("SUMMARY"))
output.write("\n\n")

Expand Down

0 comments on commit d942142

Please sign in to comment.