mirror of
https://github.com/astral-sh/ruff
synced 2026-01-22 14:00:51 -05:00
Fix pyproject tests to include pyupgrade
This commit is contained in:
@@ -157,6 +157,7 @@ mod tests {
|
||||
isort: None,
|
||||
mccabe: None,
|
||||
pep8_naming: None,
|
||||
pyupgrade: None,
|
||||
})
|
||||
})
|
||||
);
|
||||
@@ -196,6 +197,7 @@ line-length = 79
|
||||
isort: None,
|
||||
mccabe: None,
|
||||
pep8_naming: None,
|
||||
pyupgrade: None,
|
||||
})
|
||||
})
|
||||
);
|
||||
@@ -235,6 +237,7 @@ exclude = ["foo.py"]
|
||||
isort: None,
|
||||
mccabe: None,
|
||||
pep8_naming: None,
|
||||
pyupgrade: None,
|
||||
})
|
||||
})
|
||||
);
|
||||
@@ -274,6 +277,7 @@ select = ["E501"]
|
||||
isort: None,
|
||||
mccabe: None,
|
||||
pep8_naming: None,
|
||||
pyupgrade: None,
|
||||
})
|
||||
})
|
||||
);
|
||||
@@ -314,6 +318,7 @@ ignore = ["E501"]
|
||||
isort: None,
|
||||
mccabe: None,
|
||||
pep8_naming: None,
|
||||
pyupgrade: None,
|
||||
})
|
||||
})
|
||||
);
|
||||
@@ -434,6 +439,7 @@ other-attribute = 1
|
||||
]),
|
||||
staticmethod_decorators: Some(vec!["staticmethod".to_string()]),
|
||||
}),
|
||||
pyupgrade: None,
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user