-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
70 lines (64 loc) · 1.23 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
68
69
70
[tool.poetry]
name = "scandinli"
version = "0.0.0"
description = "Natural language inference for the Scandinavian languages"
authors = [
"Dan Saattrup Nielsen <[email protected]>",
]
readme = "README.md"
license = "MIT"
[tool.poetry.dependencies]
python = ">=3.8,<3.11"
hydra-core = "^1.1.1"
transformers = "^4.24.0"
datasets = "^2.7.1"
scikit-learn = "^1.1.3"
torch = "1.13.1"
wandb = "^0.13.5"
sentencepiece = "^0.1.97"
protobuf = "3.20"
[tool.poetry.group.dev.dependencies]
pytest = "^7.0.0"
pytest-xdist = "^2.5.0"
pytest-cov = "^4.0.0"
pre-commit = "^2.17.0"
pdoc = "^7.1.1"
black = "^24.3.0"
isort = "^5.10.1"
readme-coverage-badger = ">=0.1.2,<1.0.0"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = [
'--verbose',
'--durations=10',
'--color=yes',
'-s',
'-vv',
'--doctest-modules',
'--cov=src/scandinli',
'-n 2',
]
xfail_strict = true
filterwarnings = ["ignore"]
log_cli_level = "info"
testpaths = ["tests", "src/scandinli"]
[tool.black]
line-length = 88
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
)/
'''
[tool.isort]
profile = "black"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"