-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
102 lines (90 loc) · 2.41 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
[tool.poetry]
name = "depthviz"
version = "0.0.0"
description = "Visualize your depth for your freediving videos: Works with or without dive computers."
authors = ["Noppanut Ploywong <noppanut.connect@gmail.com>"]
license = "Apache-2.0"
readme = "README.md"
packages = [{ include = "depthviz", from = "src" }]
repository = "https://github.com/noppanut15/depthviz"
keywords = ["freediving", "dive", "video", "overlay", "depth", "dive-computer", "dive-log", "hud"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Developers",
"Natural Language :: English",
"Topic :: Multimedia",
"Topic :: Multimedia :: Video"
]
[tool.poetry.dependencies]
python = "^3.9"
moviepy = "2.1.1"
garmin-fit-sdk = "^21.158.0"
tqdm = "^4.67.1"
colorama = "^0.4.6"
[tool.poetry.group.dev.dependencies]
pytest = "8.3.4"
mypy = "1.14.1"
ruff = "^0.8.4"
interrogate = "1.7.0"
coverage = "7.6.10"
pytest-cov = "^6.0.0"
cyclonedx-bom = "5.1.1"
types-tqdm = "^4.67.0.20241221"
types-colorama = "^0.4.15.20240311"
[tool.ruff]
exclude = [
"dist",
"build",
"env",
"venv",
".env",
".venv",
".tox",
".git",
".mypy_cache",
".pytest_cache",
"__pycache__",
".ruff",
]
line-length = 100
indent-width = 4
[tool.ruff.lint]
# Enable Pyflakes (`F`), pycodestyle (`E`) checks and pydocstyle (`D`) checks
select = ["E", "F", "D"]
ignore = ["D104"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[[tool.mypy.overrides]]
module = [
"moviepy",
"proglog",
"garmin_fit_sdk",
]
ignore_missing_imports = true
[tool.pytest.ini_options]
pythonpath = "src"
testpaths = ["tests"]
[tool.coverage.report]
exclude_lines = [
"if __name__ == .__main__.:",
]
[tool.poetry.scripts]
depthviz = 'depthviz.main:run'
[tool.poetry-dynamic-versioning]
enable = true
[tool.poetry-dynamic-versioning.substitution]
folders = [
{ path = "src" }
]
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
build-backend = "poetry_dynamic_versioning.backend"