Skip to content

Commit

Permalink
[feat] Refine error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ftnext committed Oct 12, 2024
1 parent 6477821 commit 0e27586
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/kotoha/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@

KTH101 = (
"KTH101 "
"Use abstract type hint by `collections.abc.Iterable` or "
"`collections.abc.Sequence` "
"instead of concrete type hint `list`"
"Type hint with abstract type `collections.abc.Iterable` or "
"`collections.abc.Sequence`, "
"instead of concrete type `list`"
)
KTH102 = (
"KTH102 "
"Use abstract type hint by `collections.abc.Iterable` or "
"`collections.abc.Sequence` "
"instead of concrete type hint `tuple`"
"Type hint with abstract type `collections.abc.Iterable` or "
"`collections.abc.Sequence`, "
"instead of concrete type `tuple`"
)
KTH103 = (
"KTH103 "
"Use abstract type hint by `collections.abc.Iterable` "
"instead of concrete type hint `set`"
"Type hint with abstract type `collections.abc.Iterable`"
"instead of concrete type `set`"
)
KTH104 = (
"KTH104 "
"Use abstract type hint by `collections.abc.Iterable` "
"instead of concrete type hint `dict`"
"Type hint with abstract type `collections.abc.Iterable`"
"instead of concrete type `dict`"
)

LineNumber = int
Expand Down

0 comments on commit 0e27586

Please sign in to comment.