-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
88 lines (76 loc) · 2.09 KB
/
Copy pathpyproject.toml
File metadata and controls
88 lines (76 loc) · 2.09 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "usbguard_gui"
dynamic = ["version"]
description = "KDE/Qt system tray GUI for USBGuard — respond to USB device insertions with Allow, Block, or Reject."
readme = "README.md"
license = "GPL-2.0-or-later"
requires-python = ">=3.10"
authors = [
{ name = "Doncho Nikolaev Gunchev" },
]
keywords = ["usbguard", "usb", "security", "kde", "qt", "system-tray"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: X11 Applications :: Qt",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"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",
"Topic :: Security",
"Topic :: System :: Hardware :: Universal Serial Bus (USB)",
"Typing :: Typed",
]
dependencies = [
"PyQt6>=6.5",
"dbus-fast>=1.0",
]
[dependency-groups]
dev = [
"pytest",
"pytest-mock",
"pytest-cov",
"tox",
"tox-uv",
"ruff",
"autopep8",
"isort",
"pyqt6-stubs>=20250824",
"pytest-qt>=4.5.0",
"pyright",
]
[project.scripts]
usbguard_gui = "usbguard_gui.app:main"
[project.urls]
Homepage = "https://github.com/gunchev/usbguard_gui"
Repository = "https://github.com/gunchev/usbguard_gui"
[tool.hatch.build.targets.wheel]
packages = ["src/usbguard_gui"]
[tool.hatch.version]
path = "src/usbguard_gui/__init__.py"
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "W", "UP", "B", "SIM", "RUF"]
[tool.pyright]
pythonVersion = "3.10"
include = ["src"]
reportIncompatibleMethodOverride = "none"
[tool.isort]
line_length = 120
multi_line_output = 2
use_parentheses = false
known_first_party = ["usbguard_gui"]
[tool.autopep8]
max_line_length = 120
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]