-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
83 lines (71 loc) · 1.71 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
[project]
name = "runpod-playground"
version = "0.1.0"
description = "Runpod Playground"
authors = [
{ name = "ilkersigirci", email = "[email protected]" }
]
readme = "README.md"
requires-python = ">= 3.11"
dependencies = [
"accelerate>=0.34.2",
"hf-transfer>=0.1.8",
"huggingface-hub[cli]",
"modelscope>=1.18.0",
"runpod>=0.24.6",
"vllm>=0.6.1.post2",
]
[tool.uv]
dev-dependencies = [
"ipykernel>=6.29.5",
"ruff>=0.6.4",
"setuptools>=74.1.2",
"streamlit>=1.38.0",
]
[tool.ruff]
target-version = "py311"
line-length = 88
respect-gitignore = true
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["E402", "F401"]
# "*.ipynb" = ["E501"] # disable line-too-long in notebooks
[tool.ruff.format]
skip-magic-trailing-comma = false
# indent-style = "space"
# preview = true
[tool.ruff.lint]
select = [
"B", # flake8-bugbear
"C", # flake8-comprehensions
"C9", # mccabe
# "D", # flake8-docstrings
"E", # pycodestyle errors (default)
"F", # pyflakes (default)
"I", # isort
"PD", # pandas-vet
"PIE", # pie
# "PL", # pylint
# "PTH", # pathlib
"Q", # flake8-quotes
"RET", # return
"RUF", # Enable all ruff-specific checks
"SIM", # simplify
"S307", # eval
# "T20", # (disallow print statements) keep debugging statements out of the codebase
"W", # pycodestyle warnings
"ASYNC", # async
]
ignore = [
"E501", # Line too long, handled by ruff formatter
"D107", # "Missing docstring in __init__",
]
# unfixable = [
# "F401" # Unused imports.
# ]
#extend-select = []
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.mccabe]
max-complexity = 10
[tool.ruff.lint.isort]
combine-as-imports = true