53b38ea15c
Refactor/split investment and client * refactor: clean up tests * Renamed tests/qcqa to tests/qa_qc for consistency * comment out faulty test - see docstring note at top * split to client/investment * add __init__.py to investment and client to avoid mypy confusion * fix imports * update imports for consistency across investment module * move back to one config * try changing import to relative * add init.py to src * try relative import * try one more sys.path.append * fix path for client main * fix imports in file_processing * make prompts common * move keywords out to `src` * move smart_chunking_funcs to `src` * fix mypy error * start moving to explicit imports * remove old keywords and fix imports for keywords and prompts * change all imports to full paths * fix unit tests * add readme for new way of running things * isort after all that import work * remove unused sys.path.append from some tests Approved-by: Katon Minhas
46 lines
918 B
TOML
46 lines
918 B
TOML
[tool.poetry]
|
|
name = "doczy-smart-chunking"
|
|
version = "0.1.0"
|
|
description = ""
|
|
authors = ["Alex Galarce <agalarce@aarete.com>"]
|
|
readme = "README.md"
|
|
package-mode = false
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.12"
|
|
pandas = "^2.2.3"
|
|
boto3 = "^1.35.40"
|
|
anthropic = "^0.36.0"
|
|
python-dotenv = "^1.0.1"
|
|
psutil = "^6.1.0"
|
|
rapidfuzz = "^3.10.1"
|
|
pyxlsb = "^1.0.10"
|
|
openpyxl = "^3.1.5"
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
black = "^24.10.0"
|
|
mypy = "^1.12.0"
|
|
jupyter = "^1.1.1"
|
|
isort = "^5.13.2"
|
|
|
|
[tool.poetry.group.test.dependencies]
|
|
pytest = "^8.3.3"
|
|
|
|
[build-system]
|
|
requires = ["poetry-core"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
[tool.black]
|
|
line-length = 88
|
|
target-version = ['py312']
|
|
|
|
[tool.mypy]
|
|
disable_error_code = ["import-untyped","assignment","name-defined","call-arg","var-annotated","attr-defined","arg-type"]
|
|
exclude = ["scripts/"]
|
|
|
|
[tool.pytest.ini_options]
|
|
pythonpath=["."]
|
|
testpaths = [
|
|
"tests"
|
|
]
|