mirror of
https://github.com/astral-sh/ruff
synced 2026-01-22 05:51:03 -05:00
## Summary This PR moves `Diagnostic`, `DiagnosticKind`, and `Fix` into their own crate, which will enable us to further split up Ruff, since sub-linter crates (which need to implement functions that return `Diagnostic`) can now depend on `ruff_diagnostics` rather than Ruff.
8 lines
196 B
Rust
8 lines
196 B
Rust
pub use diagnostic::{Diagnostic, DiagnosticKind};
|
|
pub use fix::Fix;
|
|
pub use violation::{AlwaysAutofixableViolation, AutofixKind, Availability, Violation};
|
|
|
|
mod diagnostic;
|
|
mod fix;
|
|
mod violation;
|