mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-02 18:02:58 +00:00
Refine warning about incompatible isort
settings (#8192)
This commit is contained in:
parent
1ee73bdedf
commit
fd07a12a52
5 changed files with 104 additions and 36 deletions
|
@ -250,6 +250,10 @@ impl MagicTrailingComma {
|
|||
pub const fn is_respect(self) -> bool {
|
||||
matches!(self, Self::Respect)
|
||||
}
|
||||
|
||||
pub const fn is_ignore(self) -> bool {
|
||||
matches!(self, Self::Ignore)
|
||||
}
|
||||
}
|
||||
|
||||
impl FromStr for MagicTrailingComma {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue