Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hörist <philipp@hoerist.com>2023-01-05 21:52:28 +0300
committerPhilipp Hörist <philipp@hoerist.com>2023-01-05 21:55:27 +0300
commitb81e8ac8d72ae21e1ffc5095929e34a9697fe27e (patch)
treec605bfaf80eb8da21cefda7e12a443496bdc63c4 /pyproject.toml
parentf8f4f934009593efce4f44eca66434c8e5820292 (diff)
refactor: Simplify yield and any() checks
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml2
1 files changed, 2 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 9620340b1..4ee567e9a 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -133,6 +133,8 @@ ignore = [
"RUF003", # AmbiguousUnicodeCharacterComment
"RUF100", # Unused `noqa` directive
"S101", # Use of `assert` detected
+ "SIM102", # Use a single `if` statement instead of nested `if` statements
+ "SIM105", # Use `contextlib.suppress(Exception)` instead of try-except-pass
"UP007", # Use X | Y for type annotations
]