forked from Axenide/Ax-Shell
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (69 loc) · 1.91 KB
/
pyproject.toml
File metadata and controls
76 lines (69 loc) · 1.91 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
[project]
name = "aw-shell"
version = "1.0.5"
description = "A hackable desktop shell for Hyprland, powered by Fabric and PySide6"
readme = "README.md"
requires-python = ">=3.12"
license = "AGPL-3.0-or-later"
authors = [
{ name = "Adriano Tisera (Axenide)"},
{ name = "Robin Martinsen (Awareness10)" },
]
keywords = ["hyprland", "shell", "wayland", "desktop", "fabric", "gtk", "pyside6"]
dependencies = [
"dbus-python>=1.3.2",
"fabric",
"glaze",
"ijson>=3.3.0",
"loguru>=0.7.0",
"numpy>=1.26.0",
"pillow>=10.0.0",
"psutil>=5.9.0",
"pycairo>=1.25.0",
"pygobject>=3.50.0",
"pyopengl>=3.1.7",
"pyside6>=6.6.0",
"pywayland>=0.4.17",
"requests>=2.31.0",
"setproctitle>=1.3.0",
"toml>=0.10.2",
"watchdog>=3.0.0",
]
[tool.uv.sources]
glaze = { git = "https://github.com/awareness10/glaze" }
fabric = { git = "https://github.com/Fabric-Development/fabric" }
[dependency-groups]
dev = [
"pytest>=8.0.0",
"pytest-cov>=7.0.0",
"ruff>=0.15.0",
]
[tool.ruff]
target-version = "py314"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
addopts = "--cov=utils --cov=config --cov-report=term-missing"
[tool.coverage.run]
source = ["utils", "config"]
# Default: exclude GUI/runtime modules that require GTK/Fabric and can't be unit tested.
# To see full project coverage instead, run: uv run pytest --cov-config=pyproject-full.toml
omit = [
# config modules with heavy GTK/Fabric deps that can't be imported in tests
"config/__init__.py",
"config/config.py",
"config/data.py",
"config/service.py",
"config/settings_gui.py",
"config/settings/__init__.py",
# utils with GTK/Fabric runtime deps
"utils/animator.py",
"utils/async_subprocess.py",
"utils/global_keybinds.py",
"utils/hyprland_monitor.py",
"utils/icon_resolver.py",
"utils/occlusion.py",
]