From f5b8ed93344c3e9dc662215a4bacc60af3844cb0 Mon Sep 17 00:00:00 2001 From: Jannik Beyerstedt Date: Sun, 24 May 2020 16:54:37 +0200 Subject: [PATCH] Python: add copyright notice and author to file header (fixes #3) --- python/template-main.py | 5 +++++ python/template-module.py | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/python/template-main.py b/python/template-main.py index 2fd8a3e..59426fa 100644 --- a/python/template-main.py +++ b/python/template-main.py @@ -3,6 +3,11 @@ Project - Application Title TODO: Add a short explanation of the application here. + +Author: Name +Copyright: (c) Company Name/ Author, YEAR +Copyright: Licensed under the Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0 +Copyright: Licensed under the GNU GPLv3 License http://www.gnu.org/licenses/gpl-3.0.txt """ import argparse diff --git a/python/template-module.py b/python/template-module.py index 3ef9ee6..37ae704 100644 --- a/python/template-module.py +++ b/python/template-module.py @@ -1,6 +1,11 @@ """ TODO This is just an example of a module docstring. Explain what this module does at this place. + +Author: Name +Copyright: (c) Company Name/ Author, YEAR +Copyright: Licensed under the Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0 +Copyright: Licensed under the GNU GPLv3 License http://www.gnu.org/licenses/gpl-3.0.txt """ import logging