-
Notifications
You must be signed in to change notification settings - Fork 83
/
pyproject.toml
69 lines (59 loc) · 1.17 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[tool.poetry]
name = "fastapi-skeleton"
version = "1.1.0"
description = "FastAPI Skeleton App to serve machine learning models production-ready."
authors = ["eightBEC"]
license = "Apache License 2.0"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
requests = "^2.31.0"
uvicorn = "^0.25.0"
fastapi = "^0.109.1"
numpy = "^1.26.2"
joblib = "^1.3.2"
loguru = "^0.7.2"
pydantic = "^2.5.3"
scikit-learn = "^1.3.2"
[tool.poetry.group.dev.dependencies]
isort = "^5.13.2"
mypy = "^1.8.0"
black = "^24.3.0"
flake8 = "^6.1.0"
bandit = "^1.7.6"
pytest = "^7.4.3"
httpx = "^0.26.0"
pytest-cov = "^4.1.0"
[tool.black]
line-length = 88
target-version = ['py311']
include = '\.pyi?$'
extend-exclude = '''
/(
\.toml
|\.sh
|\.yaml
|\.yml
|\.git
|\.ini
|Dockerfile
|Jenkinfile
)/
'''
[tool.pytest.ini_options]
testpaths = ['tests']
[tool.coverage.run]
source = ['fastapi_skeleton']
branch = true
[tool.coverage.report]
fail_under = 90
precision = 2
[tool.mypy]
python_version = "3.11"
warn_return_any = false
warn_unused_configs = true
disallow_untyped_defs = true
ignore_missing_imports = true
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"