diff --git a/nireports/reportlets/nuisance.py b/nireports/reportlets/nuisance.py index 444104ec..a8cbf243 100644 --- a/nireports/reportlets/nuisance.py +++ b/nireports/reportlets/nuisance.py @@ -339,7 +339,7 @@ def plot_carpet( ) label = "" - for i, (label, indices) in enumerate(segments.items()): + for i, (_, indices) in enumerate(segments.items()): # Carpet plot ax = plt.subplot(gs[i]) diff --git a/pyproject.toml b/pyproject.toml index 44ef88db..ef7d0438 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -130,6 +130,8 @@ select = [ ] ignore = [ "E203", + "B019", + "C901", ] [tool.ruff.lint.flake8-quotes]