From 4d2d2e4481ba46831bb8c1e7ca5a8c6faec9dc50 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Sat, 19 Oct 2024 02:31:36 +0100 Subject: [PATCH] Enable the PLR0124 lint in Ruff --- .ruff.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/.ruff.toml b/.ruff.toml index 39a6fd519..d0f9ec81f 100644 --- a/.ruff.toml +++ b/.ruff.toml @@ -39,7 +39,6 @@ ignore = [ "PLC0415", # `import` should be at the top-level of a file "PLC2701", # Private name import `{name}` from external module `{module}` # pylint ('PLR') - "PLR0124", # Name compared with itself, consider replacing `{actual}` "PLR0904", # Too many public methods ({methods} > {max_methods}) "PLR0911", # Too many return statements ({returns} > {max_returns}) "PLR0912", # Too many branches ({branches} > {max_branches})