Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (57 loc) · 1.46 KB
/
Copy pathpyproject.toml
File metadata and controls
65 lines (57 loc) · 1.46 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
[project]
name = "Offload"
version = "0.1.4"
description = "Transfer files from memory cards and external drives with checksum verification"
readme = "README.md"
requires-python = ">=3.12"
license = "MIT"
authors = [
{ name = "Caffeine Creations", email = "contact@caffeine-creations.com" }
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Operating System :: MacOS",
]
urls = { Repository = "https://github.com/thejoltjoker/offload" }
dependencies = [
"xxhash>=3.0,<4",
"pyqt5>=5.15",
"psutil>=5.9",
"pillow>=10.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"ruff>=0.1.0",
"mypy>=1.0",
"pre-commit>=3.0",
]
[tool.setuptools.packages.find]
where = ["."]
include = ["offload*"]
[tool.ruff]
target-version = "py312"
line-length = 100
src = ["offload", "tests"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "C4"]
ignore = ["E501"]
[tool.ruff.lint.per-file-ignores]
# cv2 is optional (opencv-python) for video metadata; some unused vars intentional
"offload/utils.py" = ["F821", "F841"]
# Unused vars in tests / GUI run are intentional
"offload/gui.py" = ["F841"]
"tests/test_gui.py" = ["F841"]
"tests/test_utils.py" = ["F841"]
[tool.ruff.format]
quote-style = "double"
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
addopts = "-v"
[tool.mypy]
python_version = "3.12"
ignore_missing_imports = true
warn_return_any = false
warn_unused_ignores = true