-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
60 lines (51 loc) · 1.29 KB
/
pyproject.toml
File metadata and controls
60 lines (51 loc) · 1.29 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "payxt"
version = "0.1.0"
description = "Modern Android OTA payload.bin extractor"
readme = "README.md"
requires-python = ">=3.12"
license = "MIT"
authors = [
{ name = "Soumalya", email = "soumalya@example.com" }
]
dependencies = [
"typer[all]>=0.12.0",
"rich>=13.0.0",
"protobuf>=5.26.0",
"zstandard>=0.22.0",
"httpx>=0.27.0",
"tqdm>=4.66.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"ruff>=0.3.0",
"mypy>=1.9.0",
"pytest-asyncio>=0.23.0",
"types-protobuf>=4.24.0",
]
[project.scripts]
payxt = "payxt.cli.main:app"
[tool.setuptools]
packages = ["payxt"]
[tool.setuptools.package-data]
payxt = ["protobuf/*.proto"]
[tool.ruff]
line-length = 100
target-version = "py312"
exclude = ["payxt/protobuf/update_metadata_pb2.py"]
[tool.ruff.lint]
select = ["E", "F", "I", "N", "UP", "B", "A", "C4", "SIM", "ARG", "PTH", "RET"]
ignore = ["E501", "SIM115"] # Line too long, and file-open context manager check
[tool.mypy]
python_version = "3.12"
strict = true
warn_unused_configs = true
ignore_missing_imports = true
exclude = "payxt/protobuf/update_metadata_pb2.py"
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"