From 1cd486747ea7364d5c6fa6d8e1f18f3236b1d1a8 Mon Sep 17 00:00:00 2001 From: Christian Doh Dinga <cdohdinga@tudelft.nl> Date: Wed, 26 Jun 2024 21:05:45 +0200 Subject: [PATCH] delete NeSC package template python files --- .../__init__.py | 8 ----- .../my_module.py | 29 ------------------- 2 files changed, 37 deletions(-) delete mode 100644 src/demoses_distibuted_optimization/__init__.py delete mode 100644 src/demoses_distibuted_optimization/my_module.py diff --git a/src/demoses_distibuted_optimization/__init__.py b/src/demoses_distibuted_optimization/__init__.py deleted file mode 100644 index c0670a6..0000000 --- a/src/demoses_distibuted_optimization/__init__.py +++ /dev/null @@ -1,8 +0,0 @@ -"""Documentation about demoses_distibuted_optimization.""" -import logging - -logging.getLogger(__name__).addHandler(logging.NullHandler()) - -__author__ = "Christian Doh Dinga" -__email__ = "c.dohdinga@tudelft.nl" -__version__ = "0.1.0" diff --git a/src/demoses_distibuted_optimization/my_module.py b/src/demoses_distibuted_optimization/my_module.py deleted file mode 100644 index 4260451..0000000 --- a/src/demoses_distibuted_optimization/my_module.py +++ /dev/null @@ -1,29 +0,0 @@ -"""Documentation about the demoses_distibuted_optimization module.""" - - -# FIXME: put actual code here -def hello(name): - """Say hello. - - Function docstring using Google docstring style. - - Args: - name (str): Name to say hello to - - Returns: - str: Hello message - - Raises: - ValueError: If `name` is equal to `nobody` - - Example: - This function can be called with `Jane Smith` as argument using - - >>> from demoses_distibuted_optimization.my_module import hello - >>> hello('Jane Smith') - 'Hello Jane Smith!' - - """ - if name == 'nobody': - raise ValueError('Can not say hello to nobody') - return f'Hello {name}!' -- GitLab