-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (55 loc) · 1.2 KB
/
Copy pathpyproject.toml
File metadata and controls
67 lines (55 loc) · 1.2 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
59
60
61
62
63
64
65
66
67
[tool.poetry]
name = "ringsage"
version = "0.1.1"
description = ""
authors = ["Herumb Shandilya <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
torch-geometric = "^2.6.1"
datasets = "^3.1.0"
transformers = "^4.46.3"
networkx = "^3.4.2"
logger = "^1.4"
pydantic = "^2.10.3"
pyright = "^1.1.390"
torch = "^2.5.1"
[tool.poetry.group.dev.dependencies]
ruff = "^0.8.2"
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"N", # PEP8 naming convetions
]
ignore = [
"C901", # too complex
"W191", # indentation contains tabs
"D401", # imperative mood
"I001",
"N812",
"N803",
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.pyright]
include = ["ringsage"]
exclude = [
"**/node_modules",
"**/__pycache__",
"experiments"
]
defineConstant = { DEBUG = true }
reportMissingImports = "error"
reportMissingTypeStubs = false
pythonVersion = "3.10"
pythonPlatform = "Linux"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"