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[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "usbtop"
version = "0.1.0"
description = "A top-like tool for monitoring USB traffic."
requires-python = ">=3.11"
dependencies = [
# Please note that this project requires the Python bcc bindings: https://github.com/iovisor/bcc
]
[project.scripts]
usbtop = "usbtop:main"
[project.optional-dependencies]
dev = ["ruff", "mypy"]
[tool.ruff.lint]
select = ["ALL"] # Enable all rules.
ignore = [
"D100",
"D203",
"D212",
"E501",
"T201", # `print` is used for the TUI.
]
[tool.mypy]
strict = true