| [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" | |