-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
84 lines (80 loc) · 1.25 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
[project]
name = "yt-comment-sentiment"
version = "0.1.0"
description = "end-to-end project to build ML model to predict sentiment of youtube video comments"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"loguru>=0.7.2",
"nltk>=3.9.1",
"polars>=1.14.0",
"pyyaml>=6.0.2",
"scikit-learn>=1.5.2",
]
[dependency-groups]
dev = [
"pre-commit>=4.0.1",
]
[project.optional-dependencies]
mlflow = ["mlflow>=2.18.0", "pip>=24.3.1", "seaborn>=0.13.2"]
dvc = ["dvc>=3.57.0"]
backend = [
"fastapi[standard]>=0.115.5",
"wordcloud>=1.9.4",
]
[tool.ruff]
src = [".", "src", "backend"]
target-version = "py311"
show-fixes = true
[tool.ruff.lint]
extend-select = [
"A",
"ARG",
"B",
"BLE",
"C4",
"C90",
"COM",
"E",
"EM",
"F",
"FLY",
"FURB",
"I",
"ICN",
"INP",
"ISC",
"PGH",
"PIE",
"PL",
"PT",
"PTH",
"PYI",
"Q",
"RSE",
"RUF",
"S",
"SIM",
"SLF",
"UP",
"W",
"YTT",
]
extend-ignore = [
"B008",
"B905",
"E501",
"E741",
"EM101",
"EM102",
"INP001",
"ISC001",
"N818",
"PGH003",
"PLE1142",
"PLR0913",
"PLR2004",
"S101",
"S301",
]
extend-unfixable = ["B", "F401"]