Skip to content

Commit 7afcf3a

Browse files
committed
Remove the generated dummy code
Signed-off-by: Leandro Lucarella <[email protected]>
1 parent a669e3c commit 7afcf3a

File tree

2 files changed

+1
-40
lines changed

2 files changed

+1
-40
lines changed

src/frequenz/core/__init__.py

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,4 @@
11
# License: MIT
22
# Copyright © 2024 Frequenz Energy-as-a-Service GmbH
33

4-
"""Core utilities to complement Python's standard library.
5-
6-
TODO(cookiecutter): Add a more descriptive module description.
7-
"""
8-
9-
10-
# TODO(cookiecutter): Remove this function
11-
def delete_me(*, blow_up: bool = False) -> bool:
12-
"""Do stuff for demonstration purposes.
13-
14-
Args:
15-
blow_up: If True, raise an exception.
16-
17-
Returns:
18-
True if no exception was raised.
19-
20-
Raises:
21-
RuntimeError: if blow_up is True.
22-
"""
23-
if blow_up:
24-
raise RuntimeError("This function should be removed!")
25-
return True
4+
"""Core utilities to complement Python's standard library."""

tests/test_core.py

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)