diff --git a/changelog.d/fixed/plain-format-output-new-line-fix.md b/changelog.d/fixed/plain-format-output-new-line-fix.md new file mode 100644 index 000000000..58e8c617a --- /dev/null +++ b/changelog.d/fixed/plain-format-output-new-line-fix.md @@ -0,0 +1,2 @@ +- The plain output of `lint` has been slightly improved, getting rid of an + errant newline. (#1091) diff --git a/src/reuse/lint.py b/src/reuse/lint.py index 7d60d7129..cf5ae838f 100644 --- a/src/reuse/lint.py +++ b/src/reuse/lint.py @@ -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")