-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
130 lines (123 loc) · 3.24 KB
/
Copy pathpyproject.toml
File metadata and controls
130 lines (123 loc) · 3.24 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
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
[build-system]
build-backend = "hatchling.build"
requires = [ "hatchling" ]
[project]
name = "dit-mate"
version = "0.1.0"
description = "A suite of utilities for Digital Imaging Technicians and post-production workflows."
readme = "README.md"
keywords = [
"backup-verification",
"bwf",
"camera",
"checksum",
"compare",
"diff",
"digital-imaging-technician",
"directory-diff",
"dit",
"exiftool",
"hash",
"media-management",
"mediainfo",
"metadata",
"post-production",
"prores",
"r3d",
"rushes-log",
"verification",
"video",
"wav",
"xavc",
"xxhash"
]
license = { text = "MIT" }
authors = [
{ name = "Luis Gómez Gutiérrez" },
]
requires-python = ">=3.11"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Multimedia :: Video",
"Topic :: Utilities",
]
dependencies = [
"humanize>=4.16",
"packaging>=26.2",
"platformdirs>=4.10",
"pyperclip>=1.11",
"xxhash>=3.8.1",
]
urls.Homepage = "https://github.com/lucuma13/dit-mate"
scripts.basicmeta = "dit_mate.basicmeta:main"
scripts.dit-mate = "dit_mate.cli:main"
scripts.lifsaver = "dit_mate.lifsaver:main"
scripts.mkday = "dit_mate.mkday:main"
scripts.mrl = "dit_mate.mrl:main"
scripts.xpandroll = "dit_mate.xpandroll:main"
[dependency-groups]
dev = [
"pre-commit",
"pytest",
"pytest-cov",
"ruff",
"taplo",
"ty",
]
[tool.hatch]
build.targets.wheel.packages = [ "src/dit_mate/" ]
build.targets.sdist.include = [ "/src/dit_mate/", "/tests/" ]
build.targets.sdist.exclude = [ "/.github/" ]
[tool.uv]
managed = true
[tool.ruff]
line-length = 120
lint.select = [
"A", # flake8-builtins
"ANN", # flake8-annotations
"B", # flake8-bugbear
"BLE", # flake8-blind-except
"C", # flake8-comprehensions + mccabe
"DTZ", # flake8-datetimez
"E", # pycodestyle errors
"F", # Pyflakes
"FLY", # flynt
"FURB", # refurb
"I", # isort
"PERF", # Perflint
"PGH", # pygrep-hooks
"PIE", # flake8-pie
"PL", # Pylint
"PT", # flake8-pytest-style
"RET", # flake8-return
"RSE", # flake8-raise
"RUF", # Ruff-specific
"S", # flake8-bandit (security)
"SIM", # flake8-simplify
"TC", # flake8-type-checking
"UP", # pyupgrade
"W", # pycodestyle warnings
]
lint.ignore = [
"S603", # `subprocess` call: untrusted input — inputs are fixed tools + user CLI paths
"S606", # process without a shell — that's the safe, intended pattern (no shell injection)
"S607", # partial executable path — relying on $PATH is by design for a local CLI
]
lint.per-file-ignores."tests/*" = [
"ANN", # annotations on tests add noise without value
"PLR2004", # exact values in assertions are the point
"S101", # asserts are the point of a test
]
[tool.pytest]
ini_options.addopts = "--strict-markers --cov=src --cov-branch --cov-report=term-missing --cov-report=xml"
[tool.dit-mate]
homebrew.dependencies = [ "exiftool", "ffmpeg", "media-info" ]