Skip to content

Commit

Permalink
Apply ruff 0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed Jan 9, 2025
1 parent 2bc851c commit c516b99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pyobo/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def _read_obo(filelike, prefix: str | None, ignore_obsolete: bool) -> nx.MultiDi
tqdm(
filelike,
unit_scale=True,
desc=f'[{prefix or ""}] parsing OBO',
desc=f"[{prefix or ''}] parsing OBO",
disable=None,
leave=True,
),
Expand Down
2 changes: 1 addition & 1 deletion src/pyobo/sources/icd11.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def iterate_icd11_helper(res_json, version) -> Iterable[Term]:
with top_path.open("w") as file:
json.dump(res_json, file, indent=2)

tqdm.write(f'There are {len(res_json["child"])} top level entities')
tqdm.write(f"There are {len(res_json['child'])} top level entities")

visited_identifiers: set[str] = set()
for identifier in get_child_identifiers(ICD11_TOP_LEVEL_URL, res_json):
Expand Down

0 comments on commit c516b99

Please sign in to comment.