-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
52 lines (40 loc) · 1.03 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[tool.poetry]
name = "jptranstokenizer"
version = "0.4.0"
description = "Japanese tokenizer with transformers library"
authors = ["Masahiro Suzuki <msuzuki9609@gmail.com>"]
license = "MIT"
readme = "README.md"
packages = [{include = "jptranstokenizer", from = "src"}]
[tool.poetry.dependencies]
python = "^3.7"
transformers = "^4.24.0"
pyknp = "^0.6.1"
sentencepiece = "^0.1.96"
SudachiTra = "^0.1.9"
[tool.poetry.dev-dependencies]
black = "^22.6.0"
isort = "^5.10.1"
mypy = "^0.971"
pytest = "^7.1.2"
pytest-cov = "^3.0.0"
Sphinx = "5.1.1"
sphinx-rtd-theme = "^1.0.0"
fugashi = "^1.2.0"
ipadic = "^1.0.0"
unidic-lite = "^1.0.8"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
skip-magic-trailing-comma = true
[tool.isort]
profile = 'black'
force_single_line = true
[tool.mypy]
disallow_untyped_defs = true
ignore_missing_imports = true
[tool.pytest.ini_options]
addopts = "--cov=./ --cov-report=xml"
[tool.coverage.report]
exclude_lines = ["pragma: no cover", "if __name__ == .__main__.:"]