51 lines
1005 B
TOML
51 lines
1005 B
TOML
[build-system]
|
|
requires = ["setuptools>=61.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "text-nlp-classifier"
|
|
version = "0.1.0"
|
|
description = "Multilingual NLP Entity Inherence Classifier (POC)"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"beautifulsoup4>=4.12.0",
|
|
"marko>=2.0.0",
|
|
"jsonschema>=4.20.0",
|
|
"referencing>=0.30.0",
|
|
"python-dateutil>=2.8.2",
|
|
"pyyaml>=6.0",
|
|
"httpx>=0.27.0",
|
|
"langfuse>=2.0.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
test = [
|
|
"pytest>=7.0.0",
|
|
"pytest-asyncio>=0.21.0",
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
pythonpath = [".", "src"]
|
|
testpaths = ["tests"]
|
|
python_files = ["test_*.py"]
|
|
python_classes = ["Test*"]
|
|
python_functions = ["test_*"]
|
|
|
|
[tool.pyright]
|
|
extraPaths = [".", "src"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py310"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "W"]
|
|
ignore = ["E501", "E402", "W293"]
|
|
|
|
[tool.mypy]
|
|
python_version = "3.12"
|
|
ignore_missing_imports = true
|
|
check_untyped_defs = true
|
|
|