osmith has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-dev/+/43121?usp=email )

Change subject: ruff: ignore new failing default rules
......................................................................

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(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, but someone else must approve
  osmith: Looks good to me, approved




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 https://gerrit.osmocom.org/c/osmo-dev/+/43121?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: osmo-dev
Gerrit-Branch: master
Gerrit-Change-Id: I7d22481e9238e8155beb923a120ac8baea21df9d
Gerrit-Change-Number: 43121
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>

Reply via email to