Skip to content

Commit

Permalink
chore: use NotImplementedError instead of ...
Browse files Browse the repository at this point in the history
Also I should probably lock Ruff with dev dependency
rather than always installing the latest version in the CI.
  • Loading branch information
WieeRd committed Feb 5, 2024
1 parent c4110c7 commit 08dfd9a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions ricecake/hangul/compose.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@

def compose(cho: str, jung: str, jong: str | None) -> str:
"""Composes Choseong, Jungseong, and Jongseong into a Syllable."""
...
raise NotImplementedError


def decompose(syl: str) -> tuple[str, str, str | None]:
"""Decomposes a Syllable into Choseong, Jungseong, and Jongseong."""
...
raise NotImplementedError


# FEAT: decompose composite Jaum and Moum into tuple of str
Expand Down
8 changes: 4 additions & 4 deletions ricecake/hangul/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@

def jamo_to_compat_jamo(c: str, /) -> str | None:
"""Maps a Jamo character to a Compatibility Jamo character."""
...
raise NotImplementedError


def compat_jaum_to_choseong(c: str, /) -> str | None:
"""Maps a Compatibility Jaum character to a Jamo Choseong character."""
...
raise NotImplementedError


def compat_moum_to_jungseong(c: str, /) -> str:
"""Maps a Compatibility Moum character to a Jamo Jungseong character."""
...
raise NotImplementedError


def compat_jaum_to_jongseong(c: str, /) -> str:
"""Maps a Compatibility Jaum character to a Jamo Jongseong character."""
...
raise NotImplementedError

0 comments on commit 08dfd9a

Please sign in to comment.