mirror of https://github.com/astral-sh/ruff
bump preview_since version
This commit is contained in:
parent
ec2c18294e
commit
75d5b7e1dc
|
|
@ -41,7 +41,7 @@ use crate::{AlwaysFixableViolation, Edit, Fix};
|
||||||
/// ## References
|
/// ## References
|
||||||
/// - [Django documentation: URL dispatcher](https://docs.djangoproject.com/en/stable/topics/http/urls/)
|
/// - [Django documentation: URL dispatcher](https://docs.djangoproject.com/en/stable/topics/http/urls/)
|
||||||
#[derive(ViolationMetadata)]
|
#[derive(ViolationMetadata)]
|
||||||
#[violation_metadata(preview_since = "v0.14.1")]
|
#[violation_metadata(preview_since = "v0.14.4")]
|
||||||
pub(crate) struct DjangoURLPathWithLeadingSlash {
|
pub(crate) struct DjangoURLPathWithLeadingSlash {
|
||||||
url_pattern: String,
|
url_pattern: String,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ use crate::{AlwaysFixableViolation, Edit, Fix};
|
||||||
/// ## References
|
/// ## References
|
||||||
/// - [Django documentation: URL dispatcher](https://docs.djangoproject.com/en/stable/topics/http/urls/)
|
/// - [Django documentation: URL dispatcher](https://docs.djangoproject.com/en/stable/topics/http/urls/)
|
||||||
#[derive(ViolationMetadata)]
|
#[derive(ViolationMetadata)]
|
||||||
#[violation_metadata(preview_since = "v0.14.1")]
|
#[violation_metadata(preview_since = "v0.14.4")]
|
||||||
pub(crate) struct DjangoURLPathWithoutTrailingSlash {
|
pub(crate) struct DjangoURLPathWithoutTrailingSlash {
|
||||||
url_pattern: String,
|
url_pattern: String,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue