-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
50 lines (44 loc) · 1.11 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
[tool.poetry]
name = "pdf-api"
version = "0.1.0"
description = "PDF content extraction API"
authors = ["Martin Mokry <[email protected]>"]
license = "Apache License 2.0"
readme = "README.md"
packages = [{include = "pdf_api"}]
[tool.poetry.dependencies]
python = "^3.11"
fastapi = "^0.98.0"
uvicorn = "^0.20.0"
pdfminer-six = "^20221105"
pikepdf = "^7.1.1"
beautifulsoup4 = "^4.11.2"
python-multipart = "^0.0.5"
requests = "^2.28.2"
sqlalchemy = "^2.0.17"
psycopg = "^3.1.9"
alembic = "^1.11.1"
pyjwt = "^2.7.0"
slowapi = "^0.1.8"
[tool.poetry.group.dev.dependencies]
pytest = "^7.2.1"
httpx = "^0.23.3"
black = "^23.1.0"
pytest-cov = "^4.1.0"
pytest-asyncio = "^0.21.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 130
exclude = ["alembic"]
[tool.flake8]
max-line-length = 130
extend-ignore = ["D203", "E203", "E251", "E266", "E302", "E305", "E401", "E402", "E501", "F401", "F403", "W503"]
exclude = [".git", "__pycache__", "dist", "alembic"]
max-complexity = 10
[tool.isort]
atomic = true
profile = "black"
line_length = 130
skip_gitignore = true