We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a065c4 commit 1b7a927Copy full SHA for 1b7a927
2 files changed
ruff.toml
@@ -18,7 +18,6 @@ ignore = [
18
"COM812", # Trailing comma missing
19
"FURB188", # Prefer `str.removeprefix()` over conditionally replacing with slice.
20
"RET505", # Unnecessary `...` after `return` statement
21
- "RSE102", # Unnecessary parentheses on raised exception
22
"RUF010", # Use explicit conversion flag
23
"SIM114", # Combine `if` branches using logical `or` operator
24
"SIM118", # Use `key not in dict` instead of `key not in dict.keys()`
tests/reporters/test_first_working_reporter.py
@@ -56,7 +56,7 @@ def test_second_one(self) -> None:
56
57
def test_exception(self) -> None:
58
def exception() -> None:
59
- raise Exception()
+ raise Exception
60
61
r1 = ReporterForTesting(False, exception)
62
r2 = ReporterForTesting(False)
0 commit comments