aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2023-07-14 10:55:46 +0100
committerGravatar Chris Lovering <[email protected]>2023-07-24 09:47:46 +0100
commit300701137c7a1e5277efa5829fc84bffdfd5128a (patch)
tree9d03b8a314b7aa2ed4116e3c10ccfb0d15ede778
parentBump ruff from 0.0.277 to 0.0.280 (diff)
Ignore RUF015 linting rule
This rule is Prefer next(iter({iterable})) over list({iterable})[0] which we don't agree with
-rw-r--r--pyproject.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 6549cf918..6b2111cab 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -86,7 +86,7 @@ ignore = [
"D400", "D401", "D402", "D404", "D405", "D406", "D407", "D408", "D409", "D410", "D411", "D412", "D413", "D414", "D416", "D417",
"E731",
"RET504",
- "RUF005", "RUF012",
+ "RUF005", "RUF012", "RUF015",
"S311",
"SIM102", "SIM108",
]