Skip to content

Commit 7acabaf

Browse files
committed
fixup code for linting
1 parent 92a23b6 commit 7acabaf

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

imas/training.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
# You should have received the IMAS-Python LICENSE file with this project.
33
"""Functions that are useful for the IMAS-Python training courses."""
44

5-
from unittest.mock import patch
6-
75
try:
86
from importlib.resources import files
97
except ImportError: # Python 3.8 support
@@ -15,8 +13,8 @@
1513
def get_training_db_entry(convert=False) -> imas.DBEntry:
1614
"""Open and return an ``imas.DBEntry`` pointing to the training data.
1715
18-
Args:
19-
convert: if True, converts assets to default DD version
16+
Args:
17+
convert: if True, converts assets to default DD version
2018
"""
2119
assets_path = files(imas) / "assets/"
2220
entry = imas.DBEntry(f"imas:ascii?path={assets_path}", "r")

0 commit comments

Comments
 (0)