Skip to content

Commit 82e1d9f

Browse files
authored
Merge pull request #1274 from PyThaiNLP/copilot/add-type-annotations-coverage
Fix lazy import bugs and Python 3.9 type hint compatibility
2 parents 57db381 + 1e53fb2 commit 82e1d9f

70 files changed

Lines changed: 1130 additions & 1173 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Variable Name,Submodule,Parent Class,Scope,File,Line
2+
pythainlp.util.trie.Node.__slots__,util,Node,public,/home/runner/work/pythainlp/pythainlp/pythainlp/util/trie.py,53
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Function Name,Submodule,Scope,Priority,Params Hinted,Has Return,References,Test Suite,File,Line
1+
Function Name,Submodule,Scope,Priority,Params Hinted,Has Return,References,Test Suite,Decorators,File,Line
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Function Name,Submodule,Scope,Priority,References,Test Suite,File,Line
1+
Function Name,Submodule,Scope,Priority,References,Test Suite,Decorators,File,Line

build_tools/analysis/output/instance_variables_no_hints.csv

Lines changed: 210 additions & 0 deletions
Large diffs are not rendered by default.

build_tools/analysis/output/module_variables_no_hints.csv

Lines changed: 228 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
Submodule,Total,Complete,Incomplete,None,% Complete,Mypy Errors
22
__main__,1,1,0,0,100.00%,0
3-
ancient,2,2,0,0,100.00%,1
4-
augment,29,29,0,0,100.00%,1
5-
benchmarks,8,8,0,0,100.00%,1
6-
chat,4,4,0,0,100.00%,1
7-
classify,5,5,0,0,100.00%,1
8-
cli,21,21,0,0,100.00%,1
9-
coref,5,5,0,0,100.00%,1
10-
corpus,70,70,0,0,100.00%,1
11-
el,5,5,0,0,100.00%,1
12-
generate,15,15,0,0,100.00%,1
13-
khavee,9,9,0,0,100.00%,1
14-
lm,2,2,0,0,100.00%,1
15-
morpheme,2,2,0,0,100.00%,1
16-
parse,9,9,0,0,100.00%,1
17-
phayathaibert,19,19,0,0,100.00%,1
18-
soundex,27,27,0,0,100.00%,1
19-
spell,43,43,0,0,100.00%,1
20-
summarize,17,17,0,0,100.00%,1
21-
tag,68,68,0,0,100.00%,1
22-
tokenize,73,73,0,0,100.00%,1
3+
ancient,2,2,0,0,100.00%,26
4+
augment,29,29,0,0,100.00%,33
5+
benchmarks,8,8,0,0,100.00%,26
6+
chat,4,4,0,0,100.00%,28
7+
classify,5,5,0,0,100.00%,26
8+
cli,21,21,0,0,100.00%,28
9+
coref,5,5,0,0,100.00%,26
10+
corpus,70,70,0,0,100.00%,26
11+
el,5,5,0,0,100.00%,26
12+
generate,15,15,0,0,100.00%,31
13+
khavee,9,9,0,0,100.00%,26
14+
lm,2,2,0,0,100.00%,26
15+
morpheme,2,2,0,0,100.00%,26
16+
parse,9,9,0,0,100.00%,28
17+
phayathaibert,19,19,0,0,100.00%,26
18+
soundex,27,27,0,0,100.00%,26
19+
spell,43,43,0,0,100.00%,26
20+
summarize,17,17,0,0,100.00%,31
21+
tag,73,73,0,0,100.00%,28
22+
tokenize,73,73,0,0,100.00%,26
2323
tokenizeicu,3,3,0,0,100.00%,0
24-
tools,9,9,0,0,100.00%,1
25-
translate,44,44,0,0,100.00%,1
26-
transliterate,75,75,0,0,100.00%,1
24+
tools,9,9,0,0,100.00%,26
25+
translate,44,44,0,0,100.00%,33
26+
transliterate,75,75,0,0,100.00%,27
2727
transliterateicu,1,1,0,0,100.00%,0
28-
ulmfit,25,25,0,0,100.00%,1
29-
util,109,109,0,0,100.00%,1
30-
wangchanberta,9,9,0,0,100.00%,1
31-
word_vector,7,7,0,0,100.00%,1
32-
wsd,4,4,0,0,100.00%,1
28+
ulmfit,25,25,0,0,100.00%,30
29+
util,109,109,0,0,100.00%,26
30+
wangchanberta,9,9,0,0,100.00%,26
31+
word_vector,7,7,0,0,100.00%,33
32+
wsd,4,4,0,0,100.00%,28
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Type Alias Name,Submodule,Scope,File,Line

0 commit comments

Comments
 (0)