From 6ae907ef93f7ac2b767f8e18cb7505d3a7c0aaf1 Mon Sep 17 00:00:00 2001 From: Marcos Prieto Date: Thu, 10 Oct 2024 15:42:14 +0200 Subject: [PATCH] Enable ruff's C414 rule --- .../52755322151e_db_migration_to_back_fill_organizations.py | 2 +- pyproject.toml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lms/migrations/versions/52755322151e_db_migration_to_back_fill_organizations.py b/lms/migrations/versions/52755322151e_db_migration_to_back_fill_organizations.py index c602e9639b..5497752bb4 100644 --- a/lms/migrations/versions/52755322151e_db_migration_to_back_fill_organizations.py +++ b/lms/migrations/versions/52755322151e_db_migration_to_back_fill_organizations.py @@ -120,7 +120,7 @@ def connected_subgraphs(edges): # Discard our internal ids for the sub-graphs as they have no meaning # outside this method. Sort them to make it easier on the eye. - return sorted(sorted(list(nodes)) for nodes in group_to_nodes.values()) + return sorted(sorted(nodes) for nodes in group_to_nodes.values()) def pick_name(names): diff --git a/pyproject.toml b/pyproject.toml index 78719b47c9..8d43660361 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -96,7 +96,6 @@ ignore = [ "C405", "C401", "E721", - "C414", ] [tool.ruff.lint.per-file-ignores]