-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
97 lines (74 loc) · 1.89 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
[tool.poetry]
name = "agf_toolkit"
version = "0.1.0"
description = "A toolkit for Artery Gear: Fusion"
authors = ["PythonTryHard <[email protected]>"]
license = "BSD-3-Clause"
readme = "README.md"
packages = [{include = "agf_toolkit"}]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.dependencies]
# Core dependencies
python = "^3.10, <3.11"
loguru = "^0.6.0"
numpy = "^1.24.1"
paddlepaddle = "^2.4.1"
paddleocr = { url = "https://github.com/PythonTryHard/wheels/releases/download/tip/paddleocr-2.6.1.2-py3-none-any.whl" }
opencv-python = "^4.7.0.68"
scikit-image = "^0.19.3"
adbutils = "^1.2.2"
requests = "^2.28.2"
tqdm = "^4.64.1"
# Extras for networking
mitmproxy = {version = "^9.0.1", optional = true}
pyzmq = {version = "^25.0.0", optional = true}
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
black = "^22.8.0"
isort = "^5.10.1"
jupyter = "^1.0.0"
mypy = "^0.981"
pre-commit = "^2.20.0"
pylint = "^2.15.10"
pytest = "^7.2.1"
types-requests = "^2.28.11.8"
[tool.poetry.extras]
networking = ["mitmproxy", "pyzmq"]
[tool.black]
line-length=120
[tool.isort]
profile = "black"
[tool.pylint.'MESSAGES CONTROL']
max-line-length = 120
generated-members = ["cv2.*"]
disable = [
"missing-module-docstring",
"unused-argument",
"expression-not-assigned",
"too-few-public-methods"
]
ignore-paths = [
"tests",
"agf_toolkit/templates"
]
[[tool.mypy.overrides]]
module = "cv2.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "paddleocr.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "skimage.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "ppadb.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "adbutils.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "tqdm.*"
ignore_missing_imports = true