diff --git a/.gitignore b/.gitignore index ddc2bd11..0f7029da 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ venv/ # due to using nox and pytest .nox .cache +.pre-commit-config.yaml \ No newline at end of file diff --git a/README.md b/README.md index d6c10ebb..c6a04124 100644 --- a/README.md +++ b/README.md @@ -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. \ No newline at end of file diff --git a/src/sample/__init__.py b/src/sample/__init__.py index c8f10649..18cc4f31 100644 --- a/src/sample/__init__.py +++ b/src/sample/__init__.py @@ -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")