-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
60 lines (52 loc) · 1.12 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
[tool.poetry]
name = "poss"
version = "0.1.0"
description = "PDF OCR Stream Server"
authors = ["HowardChan <[email protected]>"]
license = "MIT"
readme = "README.md"
package-mode = false
[tool.poetry.dependencies]
python = "^3.10"
xoscar = "^0.3.3"
PyMuPDF = "^1.24.11"
websockets = "^13.1"
loguru = "^0.7.2"
pydantic-settings = "^2.6.0"
fastapi = "^0.115.2"
uvicorn = "^0.32.0"
minio = "^7.2.9"
[tool.poetry.group.dev.dependencies]
ruff = "^0.7.0"
pre-commit = "^4.0.1"
[[tool.poetry.source]]
name = "mirrors"
url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/"
priority = "primary"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"N", # PEP8 naming conventions
"D" # pydocstyle
]
ignore = [
"C901", # too complex
"W191", # indentation contains tabs
"D401", # imperative mood
"D102",
"D106",
"D101",
"D100",
"D103",
"D107"
]