-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
904fed0
commit b31cce7
Showing
5 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
*.egg-info/ | ||
__pycache__/ | ||
dist/ | ||
.mypy_cache/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[mypy] | ||
incremental = True | ||
warn_unused_configs = True | ||
disallow_any_generics = True | ||
disallow_subclassing_any = True | ||
disallow_untyped_calls = True | ||
disallow_untyped_defs = True | ||
disallow_incomplete_defs = True | ||
check_untyped_defs = True | ||
disallow_untyped_decorators = True | ||
no_implicit_optional = True | ||
warn_redundant_casts = True | ||
warn_unused_ignores = True | ||
warn_return_any = True | ||
no_implicit_reexport = True | ||
disallow_any_unimported = True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
from typing import Any, Iterator | ||
from typing_extensions import TypedDict | ||
|
||
_BaseRow = TypedDict('_BaseRow', { "ccat-pos": str, "ccat-parse": str }) | ||
|
||
class _MorphRow(_BaseRow): | ||
bcv: str | ||
robinson: str | ||
text: str | ||
word: str | ||
norm: str | ||
lemma: str | ||
|
||
def morphgnt_filename(book_num: int) -> str: ... | ||
def morphgnt_rows(book_num: int) -> Iterator[_MorphRow]: ... |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ | |
url="https://github.com/morphgnt/py-sblgnt", | ||
author="James Tauber", | ||
author_email="[email protected]", | ||
extras_require={"typings": ["typing_extensions>=3.7.4"]}, | ||
packages=["pysblgnt"], | ||
package_data={"": ["sblgnt/*.txt"]}, | ||
package_data={"": ["sblgnt/*.txt", "py.typed", "*.pyi"]}, | ||
) |