-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
52 lines (44 loc) · 1.02 KB
/
pyproject.toml
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
[tool.poetry]
name = "llm-inference"
version = "0.1.0"
description = ""
authors = ["Victor DEGLIAME <victor.degliame@sg.social.gouv.fr>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.8"
transformers = "^4.30.0"
torch = "^2.0.0"
accelerate = "^0.33.0"
boto3 = "^1.35.5"
fastapi = "^0.112.2"
uvicorn = "^0.30.6"
requests = "^2.32.3"
tqdm = "^4.66.5"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.dev-dependencies]
pytest = "^7.2.0"
[tool.coverage.run]
source = ["livecov"]
[tool.coverage.report]
include_namespace_packages = true
[tool.pytest.ini_options]
testpaths = ["tests"]
norecursedirs = ["dist", "build", "dev", "typings"]
addopts = [
"-n 4",
"--cov=amendements_intelligents",
"--cov-report=lcov:lcov.info",
"--cov-report=json:coverage.json",
"--cov-report=",
]
[tool.pylint]
disable = [
"line-too-long",
"missing-function-docstring",
"missing-module-docstring",
"missing-class-docstring",
]
[tool.mypy]
ignore_missing_imports = true