-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathpyproject.toml
More file actions
138 lines (129 loc) · 3.63 KB
/
Copy pathpyproject.toml
File metadata and controls
138 lines (129 loc) · 3.63 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
131
132
133
134
135
136
137
138
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "iopenpod"
version = "1.0.59"
description = "Open-source iPod Classic sync tool — manage your iPod media library without iTunes. Reads and writes iTunesDB directly."
authors = [
{name = "John Gibbons", email = "johngibbons167@gmail.com"}
]
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.11"
keywords = [
"ipod", "ipod-classic", "itunes", "itunesdb", "music-sync",
"ipod-manager", "pyqt6", "music-library", "ipod-sync",
"itunes-alternative", "acoustic-fingerprint",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Multimedia :: Sound/Audio :: Players",
]
dependencies = [
"pyqt6>=6.9.1,<7.0.0",
"numpy>=2.3.0,<3.0.0",
"pillow>=11.2.1,<12.0.0",
"pycryptodome>=3.20.0,<4.0.0",
"mutagen>=1.47.0,<2.0.0",
"pyusb>=1.3.1",
"wasmtime>=30.0.0",
"certifi>=2024.0.0",
"feedparser>=6.0.10",
"requests>=2.31.0",
"packaging>=23.0",
"tqdm>=4.67.3",
"python-dateutil>=2.9.0.post0",
]
[project.scripts]
iopenpod = "main:main"
[dependency-groups]
dev = [
"mypy>=1.15.0",
"nuitka>=4.0.3",
"ordered-set>=4.1.0",
"pytest>=8.3.5",
"pytest-qt>=4.4.0",
"pyinstaller>=6.19.0",
"ruff>=0.11.7",
"zstandard>=0.25.0",
]
[tool.hatch.build.targets.wheel]
only-include = [
"app_core",
"infrastructure",
"main.py",
"sync_progress_stages.py",
"GUI",
"PodcastManager",
"ipod_device",
"iTunesDB_Parser",
"iTunesDB_Shared",
"iTunesDB_Writer",
"ArtworkDB_Shared",
"ArtworkDB_Parser",
"ArtworkDB_Writer",
"SyncEngine",
"SQLiteDB_Writer",
"assets/fonts",
"assets/glyphs",
"assets/icons",
"assets/ipod_images",
]
[tool.flake8]
# Allow line breaks before binary operators (W503) — matches Black's style
extend-ignore = ["W503"]
# Keep line length reasonable; adjust if you prefer a different value
max-line-length = 320
[tool.pytest.ini_options]
addopts = "-p no:cacheprovider"
testpaths = ["tests"]
[tool.ruff]
line-length = 320
target-version = "py311"
extend-exclude = ["compendium", "vendor"]
[tool.ruff.lint]
select = ["B", "E", "F", "I", "UP"]
[tool.mypy]
python_version = "3.11"
files = [
"app_core/device_identity.py",
"app_core/services.py",
"app_core/context.py",
"app_core/jobs.py",
"app_core/progress.py",
"app_core/sync_review_model.py",
"app_core/sync_plan_builder.py",
"app_core/sync_options.py",
"infrastructure/settings_persistence.py",
"infrastructure/settings_paths.py",
"infrastructure/settings_runtime.py",
"infrastructure/settings_schema.py",
"infrastructure/settings_secrets.py",
"infrastructure/version.py",
"SyncEngine/contracts.py",
"SyncEngine/quick_writes.py",
"scripts/check_architecture.py",
"tests/test_architecture_checks.py",
"tests/test_backup_jobs.py",
"tests/test_settings_persistence.py",
"tests/test_settings_secrets.py",
"tests/test_settings_snapshot.py",
"tests/test_device_session_snapshots.py",
"tests/test_device_identity_helpers.py",
"tests/test_device_scan_jobs.py",
"tests/test_quick_writes.py",
"tests/test_sync_review_model.py",
"tests/test_sync_plan_builder.py",
"main.py",
]
follow_imports = "silent"
ignore_missing_imports = true
show_error_codes = true