-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
44 lines (39 loc) · 1.26 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
[tool.poetry]
name = "text2error"
version = "0.0.0"
description = "Introduce errors in error free text"
authors = ["Simone Primarosa <simonepri@outlook.com>"]
license = "MIT"
homepage = "https://github.com/simonepri/text2error#readme"
repository = "https://github.com/simonepri/text2error"
readme = "readme.md"
keywords = ["text", "error", "generation", "ged", "gec"]
packages = [
{include = "text2error", from = "."},
{include = "tests", from = ".", format = "sdist"},
]
[tool.taskipy.tasks]
lint = "python -m pylint text2error tests -v --output-format colorized --ignored-classes=torch --extension-pkg-whitelist=numpy --disable duplicate-code,bad-continuation"
types = "python -m mypy text2error tests --ignore-missing-imports"
format = "python -m black text2error tests"
test = "python -m pytest --cov=text2error tests --verbose"
[tool.poetry.dependencies]
python = ">=3.6,<3.8"
pip = ">=20.0.0"
numpy = "^1.18.2"
torch = "^1.4.0"
transformers = "^2.9.0"
lm-scorer = "~0.4.1"
[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.1.0"
pytest-sugar = "~0.9.3"
pytest-describe = "^1.0.0"
[build-system]
requires = ["poetry >=1,<2"]
build-backend = "poetry.masonry.api"