-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathpyproject.toml
47 lines (41 loc) · 1.29 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
[tool.poetry]
name = "lm-scorer"
version = "0.4.2"
description = "Language Model based sentences scoring library"
authors = ["Simone Primarosa <[email protected]>"]
license = "MIT"
homepage = "https://github.com/simonepri/lm-scorer#readme"
repository = "https://github.com/simonepri/lm-scorer"
readme = "readme.md"
keywords = ["language", "model", "lm", "probability", "score"]
packages = [
{include = "lm_scorer", from = "."},
{include = "tests", from = ".", format = "sdist"},
]
[tool.poetry.scripts]
lm-scorer = 'lm_scorer.bin.cli:run'
[tool.taskipy.tasks]
lint = "python -m pylint lm_scorer tests -v --output-format colorized --disable duplicate-code,bad-continuation --generated-members=torch.*"
types = "python -m mypy lm_scorer tests --ignore-missing-imports"
format = "python -m black lm_scorer tests"
test = "python -m pytest --cov=lm_scorer tests --verbose"
[tool.poetry.dependencies]
python = ">=3.6,<3.8"
pip = ">=20.0.0"
transformers = "^2.9.0"
torch = "^1.4.0"
[tool.poetry.dev-dependencies]
taskipy = "^1.2.1"
black = "~19.10b0"
pylint = "^2.5.2"
mypy = "~0.770"
pytest = "^5.4.2"
pytest-cov = "^2.8.1"
pytest-mock = "^3.0.0"
pytest-sugar = "~0.9.3"
pytest-describe = "^1.0.0"
scipy = "^1.4.1"
torch = "^1.4.0"
[build-system]
requires = ["poetry >=1,<2"]
build-backend = "poetry.masonry.api"