-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
59 lines (50 loc) · 1.13 KB
/
pyproject.toml
File metadata and controls
59 lines (50 loc) · 1.13 KB
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
[tool.poetry]
name = "pydslr"
version = "0.1.0"
description = "Abstraction on top of gphoto2 to allow quick and easy and type-safe operation of cameras."
authors = ["Niklas Frühauf <niklas.fruehauf@sovanta.com>"]
[tool.poetry.dependencies]
python = ">=3.9"
tqdm = "^4.66.4"
gphoto2 = "^2.5.0"
pytz = "^2024.1"
psutil = "^5.9.8"
pydantic = "^2.7.2"
fastapi = "^0.111.0"
black = "^24.4.2"
numpy = "^1.26.4"
pillow = "^10.3.0"
pyexiftool = "^0.5.6"
retry = "^0.9.2"
[tool.poetry.group.dev.dependencies]
types-tqdm = "^4.66.0.20240417"
pylint = "^3.2.2"
mypy = "^1.10.0"
types-psutil = "^5.9.5.20240516"
types-pytz = "^2024.1.0.20240417"
black = "^24.4.2"
isort = "^5.13.2"
opencv-python = "^4.11.0.86"
types-ujson = "^5.10.0.20250326"
types-retry = "^0.9.9.20250322"
[tool.pylint]
max-line-length = 150
disable = [
"import-outside-toplevel",
"no-member",
]
extension-pkg-allow-list = [
"ujson"
]
# poetry run pylint **/*.py
[tool.mypy]
# poetry run mypy . --explicit-package-bases
[tool.black]
line-length = 150
# poetry run black .
[tool.isort]
# poetry run isort .
profile = "black"
line_length = 150
[build-system]
requires = ["poetry"]