Skip to content
Open
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions app/hello.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
print("Hello world")
print("Hello world 2")
print("Hello world 3")

print("Test PR 2.1")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

It's a good practice to end files with a single newline character. This is recommended by the PEP 8 style guide.1 It prevents issues with some tools and makes file concatenation easier.

Suggested change
print("Test PR 2.1")
print("Test PR 2.1")

Style Guide References

Footnotes

  1. PEP 8 recommends that all files should end with a single newline character to avoid issues with file processing and concatenation on POSIX-based systems.