mirror of https://github.com/astral-sh/ruff
ci fixes
This commit is contained in:
parent
55442384ee
commit
9868349475
|
|
@ -4,6 +4,7 @@ extend-exclude = [
|
|||
"crates/ty_vendored/vendor/**/*",
|
||||
"**/resources/**/*",
|
||||
"**/snapshots/**/*",
|
||||
"crates/ruff_linter/src/rules/flake8_implicit_str_concat/rules/collection_literal.rs",
|
||||
# Completion tests tend to have a lot of incomplete
|
||||
# words naturally. It's annoying to have to make all
|
||||
# of them actually words. So just ignore typos here.
|
||||
|
|
|
|||
|
|
@ -75,7 +75,11 @@ pub(crate) fn implicit_string_concatenation_in_collection_literal(
|
|||
if !string_like.is_implicit_concatenated() {
|
||||
continue;
|
||||
}
|
||||
if parenthesized_range(string_like.as_expression_ref(), expr.into(), checker.tokens())
|
||||
if parenthesized_range(
|
||||
string_like.as_expression_ref(),
|
||||
expr.into(),
|
||||
checker.tokens(),
|
||||
)
|
||||
.is_some()
|
||||
{
|
||||
continue;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
pub(crate) use collection_literal::*;
|
||||
pub(crate) use explicit::*;
|
||||
pub(crate) use implicit::*;
|
||||
pub(crate) use collection_literal::*;
|
||||
|
||||
mod collection_literal;
|
||||
mod explicit;
|
||||
|
|
|
|||
Loading…
Reference in New Issue