Skip to content

Commit 561c95c

Browse files
committed
ruff format ...
1 parent 5008f4a commit 561c95c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/subscript/pack_sim/pack_sim.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ def _replace_paths(text: Union[str, Path], paths: Dict[str, Path]) -> Path:
200200
text = str(text).replace("$" + key, str(paths[key]))
201201
return Path(text)
202202

203+
203204
def inspect_file(
204205
filename: Path,
205206
org_sim_loc: Path,
@@ -265,7 +266,7 @@ def inspect_file(
265266
line_strip_no_comment = _remove_comments(True, line_strip).strip()
266267
line = _remove_comments(clear_comments, line)
267268
new_data_file += line
268-
if line_strip_no_comment.find('/') >= 0:
269+
if line_strip_no_comment.find("/") >= 0:
269270
break
270271

271272
# In the INCLUDE or GDFILE keyword, find the include path and

0 commit comments

Comments
 (0)