Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
66 lines (58 loc) · 1.64 KB
/
Copy pathpyproject.toml
File metadata and controls
66 lines (58 loc) · 1.64 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
60
61
62
63
64
65
66
[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[project]
name = "dashcamutils"
dynamic = ["version"]
description = "Garmin Dash Cam utilities for populating EXIF metadata from visual timestamp embedded in images"
readme = "README.md"
license = "MIT"
license-files = ["LICENSE"]
authors = [{ name = "Konstantin Läufer", email = "laufer@cs.luc.edu" }]
requires-python = ">=3.12"
dependencies = [
"numpy>=2.0",
"onnxruntime>=1.31.0",
"piexif>=1.1.3",
"pillow>=13.0.0",
"rapidocr>=3.10.0",
"tqdm>=4.70.1",
"tqdm>=4.70.1",
"tzdata; sys_platform == 'win32'",
]
[project.urls]
Homepage = "https://github.com/klaeufer/dashcamutils"
[project.scripts]
dashcam-tag = "dashcamutils.tag_images:main"
tag_images = "dashcamutils.tag_images:main" # former name, kept as an alias
[dependency-groups]
dev = [
"pytest>=9.1.1",
"pytest-cov>=7.1.0",
"ruff",
"ty",
]
[tool.setuptools]
packages = ["dashcamutils"]
[tool.setuptools.dynamic]
version = { attr = "dashcamutils.version.__version__" }
[tool.ruff]
target-version = "py312"
line-length = 88
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes (syntax/logical errors)
"B", # flake8-bugbear (design flaws)
"I", # isort (clean import sorting)
"UP", # pyupgrade (modernizes old Python syntax)
"SIM", # flake8-simplify
"C4", # flake8-comprehensions
"RUF", # ruff-specific rules
"PT", # flake8-pytest-style
]
ignore = [
"E501", # long lines (regexes, shell commands); formatter handles the rest
"PT018", # compound asserts are fine here
]