GAMER-X / pyproject.toml
sreyakumar
Deploy chainlit app to HF space
938e7dc
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "gamer-x"
description = "Generated from aind-library-template"
license = {text = "MIT"}
requires-python = ">=3.10"
authors = [
{name = "Allen Institute for Neural Dynamics"}
]
classifiers = [
"Programming Language :: Python :: 3"
]
readme = "README.md"
dynamic = ["version"]
dependencies = [
"chainlit",
"langchain_core",
"langchain",
"langgraph",
"langchain_experimental",
"aind_data_access_api",
"langsmith",
"langchain_aws",
"pydantic"
]
[project.optional-dependencies]
dev = [
'black',
'coverage',
'flake8',
'interrogate',
'isort',
'Sphinx',
'furo'
]
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.dynamic]
version = {attr = "gamer_x.__version__"}
[tool.black]
line-length = 79
target_version = ['py310']
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| build
| dist
| .conda
)/
| .gitignore
)
'''
[tool.coverage.run]
omit = ["*__init__*"]
source = ["gamer_x", "tests"]
[tool.coverage.report]
exclude_lines = [
"if __name__ == .__main__.:",
"^from .* import .*",
"^import .*",
"pragma: no cover"
]
fail_under = 100
[tool.isort]
line_length = 79
profile = "black"
skip = [".conda"]
[tool.interrogate]
exclude = ["setup.py", "docs", "build", ".conda"]
fail-under = 100