-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
58 lines (52 loc) · 1.26 KB
/
Copy pathpyproject.toml
File metadata and controls
58 lines (52 loc) · 1.26 KB
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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "CodeSearchEngine"
version = "0.0.1"
description = "Codebase for CodeSearchEngine"
requires-python = ">=3.10"
dependencies = [
"sentence-transformers",
"python-dotenv",
"pydantic",
"pydantic-settings",
"psycopg2-binary",
"mteb",
"datasets",
"torch>=1.10",
"pytorch-lightning==2.5.2",
"tensorboard==2.20.0",
"torchmetrics==0.11.4",
"matplotlib"
]
[project.urls]
"Source" = "https://github.com/Micz26/"
[tool.setuptools]
packages = { find = { where = ["src"] } }
[tool.ruff]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
# "UP", # pyupgrade
]
line-length = 120
ignore = [
# "E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"C901", # too complex
"W191", # indentation contains tabs
]
extend-exclude = [".venv/", "build/", "dist/", "docs/"]
[tool.ruff.format]
quote-style = "single"
indent-style = "space"
[tool.ruff.lint.isort]
order-by-type = true
lines-between-types = 1
combine-as-imports = true
# known_first_party = "common"