Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ venv/
# due to using nox and pytest
.nox
.cache
.pre-commit-config.yaml
Copy link
Member

Choose a reason for hiding this comment

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

Also, this is wrong, if a project provides a .pre-commit-config.yaml it should be checked in.

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@ may be appropriate.
[rst]: http://docutils.sourceforge.net/rst.html
[md]: https://tools.ietf.org/html/rfc7764#section-3.5 "CommonMark variant"
[md use]: https://packaging.python.org/specifications/core-metadata/#description-content-type-optional
Additionally: adhere to [PEP8](https://peps.python.org/pep-0008/) when writing code.
4 changes: 2 additions & 2 deletions src/sample/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
def main():
"""Entry point for the application script"""
def main() -> None:
"""Entry point for the application script."""
print("Call your main application code here")