From 3973cb3b968ad20293426e54d884716c855a9260 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Mon, 6 Jul 2026 04:21:06 +0000 Subject: [PATCH] chore(lint): enable ERA001 rule (remove commented-out code) Remove ERA001 from the ignore list. ERA is already in the select list. ERA001 remains in the unfixable list to prevent silent auto-removal. Existing violations need compliance fixes (noqa directives). Co-Authored-By: AJ Steers --- .ruff.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/.ruff.toml b/.ruff.toml index f0b61926a..29b058314 100644 --- a/.ruff.toml +++ b/.ruff.toml @@ -88,7 +88,6 @@ ignore = [ # TODO: Consider re-enabling these before release: "A003", # Class attribute 'type' is shadowing a Python builtin "BLE001", # Do not catch blind exception: Exception - "ERA001", # Remove commented-out code "FIX002", # Allow "TODO:" until release (then switch to requiring links via TDO003) "PLW0603", # Using the global statement to update _cache is discouraged "PLW0108", # Lambda may be unnecessary; consider inlining inner function