mirror of https://github.com/astral-sh/ruff
Run cargo fmt
This commit is contained in:
parent
d067efe265
commit
ba85eb846c
|
|
@ -229,8 +229,8 @@ impl Configuration {
|
||||||
if let Some(unfixable) = overrides.unfixable {
|
if let Some(unfixable) = overrides.unfixable {
|
||||||
self.unfixable = Some(unfixable);
|
self.unfixable = Some(unfixable);
|
||||||
}
|
}
|
||||||
// Special-case: `extend_ignore` and `extend_select` are parallel arrays, so push an
|
// Special-case: `extend_ignore` and `extend_select` are parallel arrays, so
|
||||||
// empty array if only one of the two is provided.
|
// push an empty array if only one of the two is provided.
|
||||||
match (overrides.extend_ignore, overrides.extend_select) {
|
match (overrides.extend_ignore, overrides.extend_select) {
|
||||||
(Some(extend_ignore), Some(extend_select)) => {
|
(Some(extend_ignore), Some(extend_select)) => {
|
||||||
self.extend_ignore.push(extend_ignore);
|
self.extend_ignore.push(extend_ignore);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue