-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
115 lines (100 loc) · 2.45 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
[tool.poetry]
name = "aipose"
version = "3.0.0"
description = "Library to use pose estimation in your projects easily"
license = "https://github.com/Tlaloc-Es/aipose/blob/master/LICENSE.txt"
homepage = "https://github.com/Tlaloc-Es/aipose"
repository = "https://github.com/Tlaloc-Es/aipose"
documentation = "https://aipose.readthedocs.io/en/latest/"
keywords = ["pose-estimator", "yolo", "yolov7"]
authors = ["Tlaloc-Es <[email protected]>"]
packages = [{include = "aipose"}]
readme = "README.md"
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/Tlaloc-Es/aipose/issues"
[tool.poetry.dependencies]
python = "^3.10"
pydantic = "*"
matplotlib = ">=3.2.2"
opencv-python = ">=4.1.1"
torch = ">=1.7.0,!=1.12.0"
torchvision = ">=0.8.1,!=0.13.0"
numpy = "<1.24.0, >=1.18.5"
pandas = ">=1.1.4"
tqdm = ">=4.41.0"
seaborn = ">=0.11.0"
scipy = ">=1.4.1"
protobuf = "<4.21.3"
tensorboard = ">=2.4.1"
pyyaml = "^6.0"
click = "^8.1.3"
requests = "^2.28.2"
types-requests = "^2.28.11.8"
opencv-contrib-python = "^4.7.0.68"
scikit-learn = "^1.2.1"
[tool.poetry.dev-dependencies]
pylint = "*"
pytest = "*"
black = "*"
mypy = "*"
ipykernel = "*"
ipython = "*"
commitizen = "*"
poethepoet = "*"
[tool.poetry.scripts]
posewebcam = 'aipose.__main__:webcam'
[tool.poe.tasks]
test = "python -m pytest -s -v test/"
check_commit = "pre-commit run --all-files"
mypy = "mypy src --check-untyped-defs"
lint = "pylint --rcfile=.pylintrc src --max-complexity=10"
format = "black src test"
type_check = "mypy src"
[tool.poetry.group.dev.dependencies]
poethepoet = "^0.18.1"
ipykernel = "^6.21.2"
notebook = "^6.5.2"
seaborn = "^0.12.2"
ipywidgets = "^8.0.4"
vulture = "^2.7"
[tool.commitizen]
version = "3.0.0"
version_files = [
"pyproject.toml:^version"
]
tag_format = "$version"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 88
# Enable Pyflakes `E` and `F` codes by default.
select = ["E", "F", "W", "C90", "UP", "N", "PLC", "PLE", "PLR", "PLW"]
ignore = []
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".hg",
".mypy_cache",
".nox",
".pants.d",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
]
per-file-ignores = {}
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
target-version = "py38"
[tool.ruff.mccabe]
max-complexity = 10