Commit Graph

6 Commits

Author SHA1 Message Date
Matteo Bernardini
0aa35bc379 fix: PCM constructor stubs not coherent with runtime 2025-08-06 18:04:28 +08:00
Matteo Bernardini
a9cb7d8437 fix: stub consistency to runtime 2025-08-06 17:17:57 +08:00
Matteo Bernardini
2b090f05fa fix: use Final for enum constants 2025-08-06 17:12:53 +08:00
Matteo Bernardini
177d9e147d fix: missing self in type stubs 2025-08-06 17:03:43 +08:00
Matteo Bernardini
1670c6b1a3 fix: add ALSAAudioError to type stubs 2025-08-06 15:45:28 +08:00
Matteo Bernardini
aea0fc62e8 chore: modernise packaging.
- use pyproject.toml to define project metadata and setuptools-specific configuration, removing the need for a setup.py file
- move sources in conventional src/ directory
- rework stubs so that they're visible downstream. PEP-561 doesn't support top-level .pyi files, so I made a dummy package instead `alsaaudio-stubs`
2025-08-06 13:05:52 +08:00