Skip to content

Commit 0e27586

Browse files
committed
[feat] Refine error messages
1 parent 6477821 commit 0e27586

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/kotoha/core.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,25 @@
22

33
KTH101 = (
44
"KTH101 "
5-
"Use abstract type hint by `collections.abc.Iterable` or "
6-
"`collections.abc.Sequence` "
7-
"instead of concrete type hint `list`"
5+
"Type hint with abstract type `collections.abc.Iterable` or "
6+
"`collections.abc.Sequence`, "
7+
"instead of concrete type `list`"
88
)
99
KTH102 = (
1010
"KTH102 "
11-
"Use abstract type hint by `collections.abc.Iterable` or "
12-
"`collections.abc.Sequence` "
13-
"instead of concrete type hint `tuple`"
11+
"Type hint with abstract type `collections.abc.Iterable` or "
12+
"`collections.abc.Sequence`, "
13+
"instead of concrete type `tuple`"
1414
)
1515
KTH103 = (
1616
"KTH103 "
17-
"Use abstract type hint by `collections.abc.Iterable` "
18-
"instead of concrete type hint `set`"
17+
"Type hint with abstract type `collections.abc.Iterable`"
18+
"instead of concrete type `set`"
1919
)
2020
KTH104 = (
2121
"KTH104 "
22-
"Use abstract type hint by `collections.abc.Iterable` "
23-
"instead of concrete type hint `dict`"
22+
"Type hint with abstract type `collections.abc.Iterable`"
23+
"instead of concrete type `dict`"
2424
)
2525

2626
LineNumber = int

0 commit comments

Comments
 (0)