From 3019e13c8079396058ec654d4b9af3b640458b59 Mon Sep 17 00:00:00 2001 From: Julian Stirling Date: Wed, 11 Jun 2025 23:40:49 +0100 Subject: [PATCH] Add commented out code check to linters --- pyproject.toml | 1 + ruff-increased-checking.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 59c9352b..eec5a3e0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -116,6 +116,7 @@ select = [ "NPY", # Numpy linting "N", # PEP8 naming # "D", # Docstring checks these may need to be added gradually + "ERA001", # Commented out code! ] ignore = [ diff --git a/ruff-increased-checking.toml b/ruff-increased-checking.toml index 37dbd749..d15911dc 100644 --- a/ruff-increased-checking.toml +++ b/ruff-increased-checking.toml @@ -32,6 +32,7 @@ select = [ "NPY", # Numpy linting "N", # PEP8 naming "D", # Docstring checks these may need to be added gradually + "ERA001", # Commented out code! ] # Line length is set to 88 for ruff. This is what the formatter aims for