File size: 1,510 Bytes
aed86da
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d9c9597
 
 
 
 
71aca09
aed86da
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
68
69
70
71
72
73
[tool.poetry]
name = "hugging-face-playground"
version = "0.1.0"
description = "An example of AI project with some (hopefully) good practices"
authors = ["Anthony Truchet <anthony.truchet@athai.tech>"]
readme = "README.md"

packages = [
    { include = "athai", from = "src" },
]

[tool.poetry.scripts]
hello = "athai.hello:main"

[tool.poetry.dependencies]
python = "^3.10"
streamlit = "^1.24.0"
pandas = "^2.0.2"
numpy = "^1.25.0"

[tool.poetry.group.dev.dependencies]
pre-commit = "^3.2.0"
commitizen = "^2.42.1"
flake8-docstrings = "^1.7.0"
pygments = "^2.14.0"

[tool.poetry.group.tests.dependencies]
pytest = "^7.2.2"
mockito = "^1.4.0"
coverage = "^7.2.2"
xdoctest = "^1.1.1"

[tool.poetry.group.doc.dependencies]
sphinx = "^6.1.3"
sphinx-autobuild = "^2021.3.14"
sphinx-rtd-theme = "^1.2.0"
myst-parser = "^1.0.0"
darglint = "^1.8.1"

[tool.poetry.group.jupyter.dependencies]
tornado = "^6.3.2"
ipython = "^8.14.0"
jupytext = "^1.14.6"
jupyterlab = "^4.0.2"
ipykernel = "^6.23.3"
langchain = "^0.0.220"

[tool.pytest.ini_options]
minversion = "6.0"
testpaths = ["tests", "src",]
# Comment out next line to skip running examples section of doc-strings as tests
addopts = "--xdoctest"

[tool.coverage.run]
branch = true
source_pkgs = ["athai",]

[tool.coverage.report]
# fail_under = 90
show_missing = true

[tool.isort]
profile = "black"
force_single_line = true
lines_after_imports = 2

[tool.black]
line-length = 79

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"