-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
67 lines (57 loc) · 1.74 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[tool.poetry]
name = "ttc"
version = "0.1.0"
description = "A Text-To-Conversation Natural Language Processing toolkit."
authors = ["Ilya I. Nikitin <[email protected]>"]
license = "GPL-3.0+"
readme = "README.md"
repository = "https://github.com/f1uctus/ttc"
[tool.poetry.dependencies]
# required
python = ">=3.8,<3.13"
click = ">=8.0,<9.0"
numpy = ">=1.24.0,<2.0.0"
spacy = ">=3.5.0,<4.0.0"
ru_core_news_sm = { url = "https://github.com/explosion/spacy-models/releases/download/ru_core_news_sm-3.7.0/ru_core_news_sm-3.7.0.tar.gz" }
[tool.poetry.group.large_models_ru]
optional = true
[tool.poetry.group.large_models_ru.dependencies]
ru_core_news_md = { url = "https://github.com/explosion/spacy-models/releases/download/ru_core_news_md-3.7.0/ru_core_news_md-3.7.0.tar.gz" }
ru_core_news_lg = { url = "https://github.com/explosion/spacy-models/releases/download/ru_core_news_lg-3.7.0/ru_core_news_lg-3.7.0.tar.gz" }
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
pytest = { version = ">=7.2.1" }
jupyter = { version = ">=1.0.0" }
mypy = { version = ">=1.0" }
black = { version = ">=23.1" }
ruff = {version = ">=0.0.275"}
[tool.poetry.scripts]
ttc = "ttc:cli.cli"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
python_version = "3.8"
implicit_reexport = true
show_error_context = true
show_column_numbers = true
show_error_codes = true
warn_return_any = true
warn_unused_configs = true
warn_unused_ignores = true
warn_redundant_casts = true
strict_optional = true
[[tool.mypy.overrides]]
module = "tests.*"
ignore_errors = true
[tool.black]
line-length = 88
include = '''
(
/(
tests
| ttc
)
)
'''