-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
84 lines (78 loc) · 1.59 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
[tool.poetry]
name = "hatespeech"
version = "0.0.1"
description = "Hatespeech detection based on Facebook data."
authors = [
"Dan Saattrup Nielsen <[email protected]>",
"Anders Jess Pedersen <[email protected]>",
]
[tool.poetry.dependencies]
python = ">=3.8,<3.11"
hydra-core = "^1.2.0"
datasets = "^2.3.2"
fastparquet = "^0.8.1"
protobuf = "^4.21.6"
transformers = "^4.20.1"
torch = "^1.13.1"
ipywidgets = "^7.7.1"
matplotlib = "^3.5.2"
snorkel = {git = "https://github.com/saattrupdan/snorkel", rev = "main"}
wget = "^3.2"
joblib = "^1.2.0"
scikit-learn = "^1.0.0"
Werkzeug = "^2.2.3"
wheel = "^0.38.1"
Pillow = "^9.3.0"
jupyter-core = "^4.11.2"
redis = "^4.5.4"
ipython = "^8.10"
oauthlib = "^3.2.2"
cryptography = "^42.0.4"
certifi = "^2023.7.22"
pytest = "^7.2.0"
lxml = ">=4.9.0,<4.9.2"
[tool.poetry.dev-dependencies]
black = "^24.3.0"
pdoc = "^7.1.1"
pytest = "^7.1.2"
pre-commit = "^2.17.0"
pytest-xdist = "^2.5.0"
pytest-cov = "^3.0.0"
readme-coverage-badger = ">=0.1.2,<1.0.0"
label-studio = "^1.5.0"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = [
'--verbose',
'--durations=10',
'--color=yes',
'-s',
'-vv',
'--doctest-modules',
'-n 2',
'--cov=src/hatespeech',
]
xfail_strict = true
filterwarnings = ["ignore"]
log_cli_level = "info"
testpaths = ["tests", "src/hatespeech"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 88
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
)/
'''
[tool.isort]
profile = "black"