| 32 | |
| 33 | |
| 34 | class WheelBuilderHandler(PatternMatchingEventHandler): |
| 35 | patterns = ["*.py"] # Watch for changes in Python files |
| 36 | |
| 37 | def on_any_event(self, event) -> None: |
| 38 | print(f"Change detected: {event.src_path}") # noqa: T201 |
| 39 | print("Building wheel...") # noqa: T201 |
| 40 | subprocess.run(["uv", "build"]) |
| 41 | print("Wheel built successfully.") # noqa: T201 |
| 42 | |
| 43 | |
| 44 | def serve() -> None: |
no outgoing calls
no test coverage detected
searching dependent graphs…