Skip to content

Commit

Permalink
importer: Note pydocstyle updates
Browse files Browse the repository at this point in the history
  • Loading branch information
tony committed Dec 10, 2023
1 parent 3aa729a commit b07f101
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/unihan_db/importer.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# flake8: noqa: PERF401
"""Import functionality for UNIHAN DB."""
import typing as t

from unihan_db.tables import (
Expand Down Expand Up @@ -61,6 +62,7 @@ def import_char(
],
],
) -> None:
"""Import character data into Unhn model (row in Unhn table)."""
if "kDefinition" in char:
for kd in char["kDefinition"]:
c.kDefinition.append(kDefinition(definition=kd))
Expand Down

0 comments on commit b07f101

Please sign in to comment.