Enable BLE in ruff

This commit is contained in:
Alexander Hess 2026-11-30 23:37:20 +01:00
commit 6ebcd69524
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -255,6 +255,8 @@ select = [
# ======================================== # ========================================
# `ruff` only (no working `flake8` plugin) # `ruff` only (no working `flake8` plugin)
# ======================================== # ========================================
# flake8-blind-except => No blind `except Exception:`
# "BLE",
# refurb => Modern idioms # refurb => Modern idioms
# "FURB", # "FURB",
# NumPy-specific rules => Modern `numpy` APIs # NumPy-specific rules => Modern `numpy` APIs
@ -545,6 +547,8 @@ select = [
# ======================================= # =======================================
# Violations not covered by `flake8` above # Violations not covered by `flake8` above
# ======================================= # =======================================
# flake8-blind-except => No blind `except Exception:`
"BLE",
# eradicate => No commented-out code # eradicate => No commented-out code
"ERA", "ERA",
# refurb => Modern idioms # refurb => Modern idioms