(paths: list[str])
| 48 | |
| 49 | |
| 50 | def unique_e501_files(paths: list[str]) -> list[str]: |
| 51 | data = ruff_json(paths) |
| 52 | files = sorted({item["filename"] for item in data if item.get("code") == "E501"}) |
| 53 | return files |
| 54 | |
| 55 | |
| 56 | def chunked(items: list[str], size: int = 50): |