-
Notifications
You must be signed in to change notification settings - Fork 275
/
pyproject.toml
92 lines (82 loc) · 1.84 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
dependencies = [
"scikit-learn>=1.1.0,<2.0.0",
"pandas>=1.5.0,<3.0.0",
"openai>=1.2.0,<2.0.0",
"tqdm>=4.60.0,<5.0.0",
"google-cloud-aiplatform[pipelines]>=1.27.0,<2.0.0"
]
name = "scikit-llm"
version = "1.4.1"
authors = [
{ name="Oleh Kostromin", email="kostromin97@gmail.com" },
{ name="Iryna Kondrashchenko", email="iryna230520@gmail.com" },
]
description = "Scikit-LLM: Seamlessly integrate powerful language models like ChatGPT into scikit-learn for enhanced text analysis tasks."
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
[project.optional-dependencies]
gguf = ["llama-cpp-python>=0.2.82,<0.2.83"]
annoy = ["annoy>=1.17.2,<2.0.0"]
[tool.ruff]
select = [
# pycodestyle
"E",
# pyflakes
"F",
# pydocstyle
"D",
# flake8-bandit
"S",
# pyupgrade
"UP",
# pep8-naming
"N",
]
# Error E501 (Line too long) is ignored because of docstrings.
ignore = [
"S101",
"S301",
"S311",
"D100",
"D200",
"D203",
"D205",
"D401",
"E501",
"N803",
"N806",
"D104",
]
extend-exclude = ["tests/*.py", "setup.py"]
target-version = "py39"
force-exclude = true
[tool.ruff.per-file-ignores]
"__init__.py" = ["E402", "F401", "F403", "F811"]
[tool.ruff.pydocstyle]
convention = "numpy"
[tool.mypy]
ignore_missing_imports = true
[tool.black]
preview = true
target-version = ['py39', 'py310', 'py311']
[tool.isort]
profile = "black"
filter_files = true
known_first_party = ["skllm", "skllm.*"]
skip = ["__init__.py"]
[tool.docformatter]
close-quotes-on-newline = true # D209
[tool.pytest.ini_options]
pythonpath = [
"."
]