forked from doronz88/pymobiledevice3
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
118 lines (107 loc) · 2.61 KB
/
pyproject.toml
File metadata and controls
118 lines (107 loc) · 2.61 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
[project]
name = "pymobiledevice3"
description = "Pure python3 implementation for working with iDevices (iPhone, etc...)"
readme = "README.md"
requires-python = ">=3.9"
license = "GPL-3.0-or-later"
keywords = [
"ios",
"protocol",
"lockdownd",
"instruments",
"automation",
"cli",
"afc",
]
authors = [
{ name = "doronz88", email = "doron88@gmail.com" },
{ name = "matan", email = "matan1008@gmail.com" },
]
maintainers = [
{ name = "doronz88", email = "doron88@gmail.com" },
{ name = "matan", email = "matan1008@gmail.com" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3 :: Only",
]
dynamic = ["dependencies", "version"]
[project.optional-dependencies]
test = ["pytest", "pytest-asyncio"]
[project.urls]
"Homepage" = "https://github.com/doronz88/pymobiledevice3"
"Bug Reports" = "https://github.com/doronz88/pymobiledevice3/issues"
[project.scripts]
pymobiledevice3 = "pymobiledevice3.__main__:main"
[tool.setuptools]
package-data = { "pymobiledevice3" = [
"resources/webinspector/*.js",
"resources/dsc_uuid_map.json",
"resources/notifications.txt",
] }
[tool.setuptools.packages.find]
exclude = ["docs*", "tests*"]
[tool.setuptools.dynamic]
dependencies = { file = ["requirements.txt"] }
[tool.setuptools_scm]
version_file = "pymobiledevice3/_version.py"
[build-system]
requires = ["setuptools>=43.0.0", "setuptools_scm>=8,<10", "wheel"]
build-backend = "setuptools.build_meta"
[tool.ruff]
target-version = "py39"
line-length = 120
fix = true
[tool.ruff.lint]
select = [
# flake8-2020
"YTT",
# flake8-bugbear
"B",
# flake8-builtins
"A",
# flake8-comprehensions
"C4",
# flake8-debugger
"T10",
# flake8-simplify
"SIM",
# isort
"I",
# pycodestyle
"E",
"W",
# pyflakes
"F",
# pygrep-hooks
"PGH",
# pyupgrade
"UP",
# ruff
"RUF",
# tryceratops
"TRY",
]
ignore = [
# Shadowing a built-in
"A001",
# LineTooLong
"E501",
# Custom error classes
"TRY003",
# Use `logging.exception` instead of `logging.error`
"TRY400",
# Abstract `raise` to an inner function
"TRY301",
# Do not perform function call `csfield` in dataclass defaults
"RUF009",
]
[tool.ruff.format]
preview = true