Refactor assessment module and update dependencies; remove unused extractor and graph loader files
This commit is contained in:
@@ -11,51 +11,34 @@ requires-python = ">=3.13"
|
||||
dependencies = [
|
||||
"langchain>=0.1.0",
|
||||
"langchain-openai>=0.1.0",
|
||||
"langgraph",
|
||||
"neo4j",
|
||||
"qdrant-client",
|
||||
"pydantic",
|
||||
"openai",
|
||||
"pydantic-settings>=2.12.0",
|
||||
"PyYAML>=6.0.1",
|
||||
"langgraph>=1.0.5",
|
||||
"openai>=2.14.0",
|
||||
"pydantic>=2.12.5",
|
||||
"beanie>=2.0.1",
|
||||
"motor>=3.7.1",
|
||||
"neo4j>=5.19.0",
|
||||
]
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["src/helia"]
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"ruff>=0.14.7",
|
||||
"pyrefly>=0.43.1",
|
||||
]
|
||||
dev = ["ruff>=0.14.10", "pyrefly>=0.46.0"]
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 100
|
||||
target-version = "py314"
|
||||
|
||||
[tool.ruff.lint]
|
||||
extend-select = [
|
||||
"F", # Pyflakes rules
|
||||
"W", # PyCodeStyle warnings
|
||||
"E", # PyCodeStyle errors
|
||||
"I", # Sort imports properly
|
||||
"UP", # Warn if certain things can changed due to newer Python versions
|
||||
"C4", # Catch incorrect use of comprehensions, dict, list, etc
|
||||
"FA", # Enforce from __future__ import annotations
|
||||
"ISC", # Good use of string concatenation
|
||||
"ICN", # Use common import conventions
|
||||
"RET", # Good return practices
|
||||
"SIM", # Common simplification rules
|
||||
"TID", # Some good import practices
|
||||
"TC", # Enforce importing certain types in a TYPE_CHECKING block
|
||||
"PTH", # Use pathlib instead of os.path
|
||||
"TD", # Be diligent with TODO comments
|
||||
"NPY", # Numpy-specific rules
|
||||
"COM", # enforce trailing comma rules
|
||||
"DTZ", # require strict timezone manipulation with datetime
|
||||
"FBT", # detect boolean traps
|
||||
"N", # enforce naming conventions, e.g. ClassName vs function_name
|
||||
]
|
||||
ignore = ["E501", "COM812", "TD003"]
|
||||
select = ["ALL"]
|
||||
ignore = ["D", "BLE", "EM101", "EM102", "E501", "COM812", "TD003", "TRY003"]
|
||||
|
||||
[tool.ruff.lint.pydocstyle]
|
||||
# https://github.com/google/styleguide/blob/gh-pages/pyguide.md#38-comments-and-docstrings
|
||||
convention = "google"
|
||||
|
||||
[tool.pyrefly]
|
||||
search-path = ["src"]
|
||||
|
||||
Reference in New Issue
Block a user