mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 05:15:12 +00:00
Implement B017 (no assertRaises(Exception)) (#467)
This commit is contained in:
parent
66089052ee
commit
bcf7519eb3
9 changed files with 104 additions and 3 deletions
|
@ -19,7 +19,7 @@ fn main() {
|
|||
"| {} | {} | {} | {} |",
|
||||
check_kind.code().as_ref(),
|
||||
check_kind.as_ref(),
|
||||
check_kind.body().replace("|", r"\|"),
|
||||
check_kind.summary().replace("|", r"\|"),
|
||||
fix_token
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue