-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
76 lines (66 loc) · 1.8 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
[tool.poetry]
name = "yaya-tools"
version = "1.1.0"
description = ""
authors = ["Sławomir Paszko <s.paszko@aisp.pl>"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
numpy = "^2.2.2"
supervision = "^0.25.1"
tqdm = "^4.67.1"
albumentations = "^2.0.2"
scipy-stubs = "^1.15.1.0"
pyqt5 = "5.15.7"
seaborn = "^0.13.2"
pandas = "^2.2.3"
[tool.poetry.group.dev.dependencies]
flake8 = "^7.1.1"
flake8-pyproject = "^1.2.3"
flake8-bugbear = "^24.12.12"
black = "^25.1.0"
mypy = "^1.14.1"
pytest = "^8.3.4"
isort = "^6.0.0"
types-tqdm = "^4.67.0.20241221"
types-pyyaml = "^6.0.12.20241230"
pyqt5-stubs = "^5.15.6.0"
pandas-stubs = "^2.2.3.241126"
[tool.black]
line-length = 120
#Needed as of black 23.12.1 to properly split long stings
preview = true
exclude = '''
/(
\.venv
| \.pytest_cache
)/
'''
[tool.isort]
profile = "black"
line_length = 120
skip = ['.venv', '.pytest_cache']
[tool.flake8]
max-line-length = 120
extend-select = ['B950']
# E203, E501, E701 are rules incompatiblie with black and are exclued as recommended by black documentation
extend-ignore = ['E501', 'E701', 'E203', 'B950']
extend-exclude = ['.venv', '.pytest_cache']
[tool.mypy]
exclude = ['.venv', '.pytest_cache']
[tool.pytest.ini_options]
testpaths = ["tests"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
yaya-test = "yaya_tools.yaya_test:main"
yaya-dataset = "yaya_tools.yaya_dataset:main"
yaya-datasetdiff = "yaya_tools.yaya_datasetdiff:main"
yaya-resize = "yaya_tools.yaya_resize:main"
yaya-benchmark = "yaya_tools.yaya_benchmark:main"
yaya-inference = "yaya_tools.yaya_inference:main"
yaya-augument = "yaya_tools.yaya_augument:main"
yaya-inference-qt5 = "yaya_tools.yaya_inference_qt5:main"
yaya-darknet-logs-qt5 = "yaya_tools.yaya_darknet_logs_qt5:main"