-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
95 lines (88 loc) · 2 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
85
86
87
88
89
90
91
92
93
94
95
[tool.poetry]
name = "malicious-code-detection"
version = "0.1.0"
description = ""
authors = ["Truong Hoang <[email protected]>"]
license = "MIT"
readme = "README.md"
packages = [{include = "malicious_code_detection"}]
[tool.poetry.dependencies]
python = "~3.10"
slimit = {git = "https://github.com/rspivak/slimit.git", rev = "3533eba9ad5b39f3a015ae6269670022ab310847"}
matplotlib = "^3.7.2"
seaborn = "^0.12.2"
numpy = "^1.22.4"
pandas = "^2.0.3"
scikit-learn = "^1.3.0"
ipykernel = "^6.25.1"
gensim = "^4.3.1"
python-dotenv = "^1.0.0"
chardet = "^5.2.0"
mypy = "^1.5.0"
calmjs-parse = "^1.3.0"
esprima = "^4.0.1"
torch = "2.0.1"
conda-lock = "^2.1.2"
tqdm = "^4.66.1"
pre-commit = "^3.3.3"
pymongo = "^4.5.0"
beautifulsoup4 = "^4.12.2"
pyarrow = "^13.0.0"
dask = {extras = ["complete"], version = "^2023.9.1"}
numba = "~0.56.0"
dask-ml = "^2023.3.24"
fasttext = {git = "https://github.com/cfculhane/fastText", rev = "main"}
pytorch-lightning = "^2.0.8"
torchmetrics = "^1.1.2"
tensorboard = "^2.14.0"
transformers = {extras = ["torch"], version = "^4.33.1"}
accelerate = "^0.23.0"
datasets = "^2.14.5"
duckdb = "^0.8.1"
tabulate = "^0.9.0"
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.0"
black = "^23.7.0"
ruff = "^0.0.284"
pytest-cov = "^4.1.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
ignore = ["E402","F841","F401"]
select = ["E", "F", "I", "W"]
line-length = 120
fixable = ["I"]
include = ["*.py"]
exclude = [".env", ".venv", "venv", "notebooks"]
show-source = true
src = ["src"]
[tool.black]
line-length = 120
extend-exclude = '''
/(
| .env
| .venv
| venv
| notebooks
)/
'''
[tool.mypy]
python_version = "3.8"
disallow_untyped_defs = true
disallow_any_unimported = true
check_untyped_defs = true
show_error_codes = true
no_implicit_optional = true
warn_return_any = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
module = [
"tests.*",
"gensim.*",
"slimit.*",
"calmjs.*",
"esprima.*",
]
ignore_errors = true
ignore_missing_imports = true