-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
133 lines (118 loc) · 3.19 KB
/
Copy pathpyproject.toml
File metadata and controls
133 lines (118 loc) · 3.19 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
[project]
name = "vdf-mobile-toolkit"
dynamic = ["version"]
authors = [
{name = "Veritas Digital Forensics", email = "info@veritasdf.com"}
]
maintainers = [
{name = "VDF Development Team", email = "dev@veritasdf.com"}
]
description = "VDF Mobile Digital Forensics Toolkit"
readme = "README.md"
keywords = ["digital-forensics", "mobile", "ios", "android", "investigation", "security"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Legal Industry",
"Intended Audience :: Information Technology",
"Topic :: Security :: Cryptography",
"Topic :: System :: Forensics",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License"
]
dependencies = [
"click==8.2.1",
"rich==14.1.0",
"tld==0.13.1",
"requests==2.32.4",
"simplejson==3.20.1",
"packaging==25.0",
"appdirs==1.4.4",
"iOSbackup==0.9.925",
"adb-shell[usb]==0.4.4",
"libusb1==3.3.1",
"cryptography==45.0.6",
"PyYAML>=6.0.2",
"pyahocorasick==2.2.0",
"betterproto==1.2.5",
"pydantic==2.11.7",
"pydantic-settings==2.10.1",
"NSKeyedUnArchiver==1.5.2",
"python-dateutil==2.9.0.post0",
]
requires-python = ">= 3.10"
[project.urls]
homepage = "https://veritasdf.com"
repository = "https://github.com/veritasdf/mobile-toolkit"
documentation = "https://docs.veritasdf.com/mobile-toolkit"
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.coverage.run]
omit = [
"tests/*",
]
[tool.coverage.html]
directory= "htmlcov"
[tool.mypy]
install_types = true
non_interactive = true
ignore_missing_imports = true
packages = "src"
strict = true
warn_return_any = true
warn_unused_configs = true
[tool.pytest.ini_options]
addopts = "-ra -q --cov=toolkit --cov-report html --junitxml=pytest.xml --cov-report=term-missing:skip-covered"
testpaths = [
"tests"
]
minversion = "6.0"
log_cli = true
log_cli_level = "INFO"
[tool.ruff.lint]
select = ["C90", "E", "F", "W", "B", "I", "N", "UP", "S"] # Extended ruleset for better code quality
ignore = [
"E501", # Line too long (handled by black)
"C901", # Complex structure
"S101", # Use of assert (common in tests)
"S603", # Subprocess call (needed for system operations)
"S607", # Starting a process with a partial executable path
"B008", # Do not perform function calls in argument defaults
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"] # unused-import
[tool.ruff.lint.mccabe]
max-complexity = 10
[tool.setuptools]
include-package-data = true
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
toolkit = ["ios/data/*.json", "android/data/*.json"]
[tool.setuptools.dynamic]
version = {attr = "toolkit.common.version.TOOLKIT_VERSION"}
[tool.black]
line-length = 88
target-version = ['py310', 'py311', 'py312']
include = '\.pyi?$'
extend-exclude = '''
(
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
)
'''