-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
59 lines (51 loc) · 1.22 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
[pydocstyle] # Not supported
match-dir = "src"
[mypy] # Not supported, yet
ignore_missing_imports = true
[tool.black]
line_length = 120
[tool.pylint.messages_control]
disable = [
"C",
"logging-fstring-interpolation",
"global-statement",
]
ignored-modules = "torch"
[tool.pytest.ini_options]
testpaths = [
"tests"
]
# addopts = "--electra_model=/home/haukurpj/Resources/Models/LM/electra-small-pytorch --tagger=/home/haukurpj/Resources/Models/POS/tagger-v2.0.0.pt"
[tool.poetry]
name = "pos"
version = "3.1.0"
description = "A Part-of-Speech tagger for Icelandic"
authors = ["Haukur <haukurpalljonsson@gmail.com>"]
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/cadia-lvl/pos"
packages = [
{include = "pos", from = "src"}
]
[tool.poetry.scripts]
pos = "pos.cli:cli"
[tool.poetry.dependencies]
python = "^3.8"
torch = "^1.7.0"
tqdm = "^4.48.2"
click = "^8.1.3"
transformers = "^4.30.1"
protobuf = "^3.18.0"
[tool.poetry.dev-dependencies]
wandb = "^0.15.4"
pydocstyle = "^5.0.2"
pytest = "^6.0.1"
tensorboard = "^2.3.0"
rope = "^0.17.0"
black = "^22.8"
notebook = "^6.5.4"
tokenizer = "^3.1.0"
mypy = "^0.812"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"