mirror of https://github.com/astral-sh/ruff
[`ruff`] fix preview-since values for `RUF103` and `RUF104` (#22061)
Missed including this in the follow-up on #21908
This commit is contained in:
parent
3d334a313e
commit
b7fbd986bc
|
|
@ -25,7 +25,7 @@ use crate::suppression::{InvalidSuppressionKind, ParseErrorKind};
|
|||
/// ## References
|
||||
/// - [Ruff error suppression](https://docs.astral.sh/ruff/linter/#error-suppression)
|
||||
#[derive(ViolationMetadata)]
|
||||
#[violation_metadata(preview_since = "0.14.9")]
|
||||
#[violation_metadata(preview_since = "0.14.11")]
|
||||
pub(crate) struct InvalidSuppressionComment {
|
||||
pub(crate) kind: InvalidSuppressionCommentKind,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ use crate::Violation;
|
|||
/// ## References
|
||||
/// - [Ruff error suppression](https://docs.astral.sh/ruff/linter/#error-suppression)
|
||||
#[derive(ViolationMetadata)]
|
||||
#[violation_metadata(preview_since = "0.14.9")]
|
||||
#[violation_metadata(preview_since = "0.14.11")]
|
||||
pub(crate) struct UnmatchedSuppressionComment;
|
||||
|
||||
impl Violation for UnmatchedSuppressionComment {
|
||||
|
|
|
|||
Loading…
Reference in New Issue