-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
62 lines (55 loc) · 1.08 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
[tool.poetry]
name = "text-processing-api"
version = "0.1.0"
description = "This project provides an API to run a model prediction"
authors = ["annalitvin <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.8"
uvicorn = "^0.30.1"
fastapi = "^0.111.0"
pydantic = "^1.10.16"
requests = "^2.27.1"
textdistance = "^4.6.0"
[tool.poetry.group.dev.dependencies]
ipython = "^8.0.1"
ipdb = "^0.13.9"
flake8 = "^4.0.1"
black = "^24.1.0"
isort = "^5.10.1"
pytest = "^7.0.1"
mypy = "^1.0.0"
tox = "^4.13.0"
[tool.black]
line-length = 120
target-version = ['py38']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
)
'''
[tool.isort]
profile = "hug"
line_length = 120
src_paths = ["app", "tests"]
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "-ra -q"
testpaths = [
"tests",
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"