mirror of https://github.com/astral-sh/ruff
## Summary This PR is a first step toward adding a GitLab output format to ty. It converts the `GitlabEmitter` from `ruff_linter` to a `GitlabRenderer` in `ruff_db` and updates its implementation to handle non-Ruff files and diagnostics without primary spans. I tried to break up the changes here so that they're easy to review commit-by-commit, or at least in groups of commits: - [preparatory changes in-place in `ruff_linter` and a `ruff_db` skeleton]( |
||
|---|---|---|
| .. | ||
| diagnostic | ||
| files | ||
| system | ||
| vendored | ||
| display.rs | ||
| file_revision.rs | ||
| files.rs | ||
| lib.rs | ||
| panic.rs | ||
| parsed.rs | ||
| source.rs | ||
| system.rs | ||
| testing.rs | ||
| vendored.rs | ||