-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
55 lines (46 loc) · 1.21 KB
/
Copy pathpyproject.toml
File metadata and controls
55 lines (46 loc) · 1.21 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "android-battery-optimizer"
version = "0.1.0"
description = "Local ADB utility for experimenting with Android battery-related settings from a computer."
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
authors = [
{name = "Aatricks"}
]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = []
[project.optional-dependencies]
dev = [
"ruff>=0.6",
"mypy>=1.10",
"pytest>=8",
]
[project.urls]
"Homepage" = "https://github.com/Aatricks/Android-battery-optimization"
[project.scripts]
android-battery-optimizer = "android_battery_optimizer.cli:main"
[tool.setuptools.packages.find]
where = ["."]
include = ["android_battery_optimizer*"]
[tool.setuptools.package-data]
android_battery_optimizer = ["webui.html"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "W"]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
check_untyped_defs = true
exclude = ["tests/"]