-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
87 lines (77 loc) · 1.74 KB
/
Copy pathpyproject.toml
File metadata and controls
87 lines (77 loc) · 1.74 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
[project]
authors = [{ name = "Harshal Laheri", email = "harshal@harshallaheri.me" }]
dependencies = [
"sounddevice>=0.4.6",
"soundfile>=0.12.1",
"numpy>=1.24.0",
"pynput>=1.7.6",
"rich-click>=1.9.4",
"loguru>=0.7.3",
]
description = "Play audio through your microphone in games using hotkeys"
name = "muc"
readme = "README.md"
requires-python = ">=3.13"
version = "0.5.1"
[project.optional-dependencies]
yt-dlp = ["yt-dlp>=2025.12.8"]
[dependency-groups]
dev = [
"pre-commit>=4.4.0",
"yt-dlp>=2025.12.8",
"pytest>=9.0.1",
"pytest-cov>=7.0.0",
"pytest-mock>=3.15.1",
"coverage>=7.12.0",
]
[tool.hatch.build.targets.wheel]
packages = ["src"]
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[project.scripts]
muc = "src.cli:main"
[tool.ruff]
line-length = 120
lint.ignore = [
"S101",
"PLR6301",
"PLR2004",
"SLF001",
"G004",
"TRY003",
"EM102",
"EM101",
"C901",
"PLR0911",
"PLR0914",
"PLR0912",
"PLR0913",
"PLR0917",
"PLR0904",
"PT011",
"FBT001",
"FBT002",
"TC001",
]
[tool.pytest.ini_options]
addopts = ["-v", "--tb=short", "--strict-markers", "-ra"]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks tests as integration tests",
]
python_classes = ["Test*"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
testpaths = ["tests"]
[tool.coverage.run]
branch = true
omit = ["tests/*", "*/__pycache__/*"]
source = ["src"]
[tool.coverage.report]
exclude_lines = ["pragma: no cover", "if TYPE_CHECKING:", "raise NotImplementedError"]
fail_under = 65
show_missing = true
[project.urls]
Homepage = "https://github.com/harshal6927/muc"
Website = "https://harshallaheri.me/"