osmith submitted this change.

View Change

Approvals: Jenkins Builder: Verified laforge: Looks good to me, but someone else must approve osmith: Looks good to me, approved
ruff: ignore new failing default rules

With the new ruff 0.16 version, a lot of new default rules have been
added. Ignore the ones that are failing for now to make the linter pass
again.

Related: https://astral.sh/blog/ruff-v0.16.0#better-default-rule-set
Change-Id: I7d22481e9238e8155beb923a120ac8baea21df9d
---
M .ruff.toml
1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/.ruff.toml b/.ruff.toml
index c673c3a..d9ae72b 100644
--- a/.ruff.toml
+++ b/.ruff.toml
@@ -12,8 +12,16 @@
]

[lint]
-# E741: Ambiguous variable name: `l`
-ignore = ["E741"]
+ignore = [
+ "B026", # https://docs.astral.sh/ruff/rules/star-arg-unpacking-after-keyword-arg/
+ "E741", # https://docs.astral.sh/ruff/rules/ambiguous-variable-name/
+ "EXE001", # https://docs.astral.sh/ruff/rules/shebang-not-executable/
+ "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports/
+ "PLR1730", # https://docs.astral.sh/ruff/rules/if-stmt-min-max/
+ "SIM103", # https://docs.astral.sh/ruff/rules/needless-bool/
+ "SIM115", # https://docs.astral.sh/ruff/rules/open-file-with-context-handler/
+ "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting/
+]

[format]
exclude = [

To view, visit change 43121. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: merged
Gerrit-Project: osmo-dev
Gerrit-Branch: master
Gerrit-Change-Id: I7d22481e9238e8155beb923a120ac8baea21df9d
Gerrit-Change-Number: 43121
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: laforge <laforge@osmocom.org>
Gerrit-Reviewer: osmith <osmith@sysmocom.de>
Gerrit-Reviewer: pespin <pespin@sysmocom.de>