diff options
author | Philipp Hörist <philipp@hoerist.com> | 2023-01-05 21:52:28 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2023-01-05 21:55:27 +0300 |
commit | b81e8ac8d72ae21e1ffc5095929e34a9697fe27e (patch) | |
tree | c605bfaf80eb8da21cefda7e12a443496bdc63c4 /pyproject.toml | |
parent | f8f4f934009593efce4f44eca66434c8e5820292 (diff) |
refactor: Simplify yield and any() checks
Diffstat (limited to 'pyproject.toml')
-rw-r--r-- | pyproject.toml | 2 |
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 ] |