()
| 48 | src.write_text("x=1\n", encoding="utf8") |
| 49 | |
| 50 | async def run() -> None: |
| 51 | loop = asyncio.get_running_loop() |
| 52 | with ThreadPoolExecutor(max_workers=1) as executor: |
| 53 | await concurrency.schedule_formatting( |
| 54 | sources={src}, |
| 55 | fast=False, |
| 56 | write_back=WriteBack.DIFF, |
| 57 | mode=Mode(), |
| 58 | report=Report(), |
| 59 | loop=loop, |
| 60 | executor=executor, |
| 61 | no_cache=True, |
| 62 | ) |
| 63 | |
| 64 | asyncio.run(run()) |
| 65 |
no test coverage detected