From f291181336bacdd7a913187d2d26f1125f1b2a11 Mon Sep 17 00:00:00 2001 From: Frederik Paradis Date: Mon, 22 Jun 2026 15:27:37 -0400 Subject: [PATCH] fix: wrap long line in extract_graph to pass ruff E501 Co-Authored-By: Claude Sonnet 4.6 (1M context) --- src/archunitpython/common/extraction/extract_graph.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/archunitpython/common/extraction/extract_graph.py b/src/archunitpython/common/extraction/extract_graph.py index 5d3d282..d1ed199 100644 --- a/src/archunitpython/common/extraction/extract_graph.py +++ b/src/archunitpython/common/extraction/extract_graph.py @@ -58,7 +58,9 @@ def extract_graph( project_path = os.getcwd() project_path = os.path.abspath(project_path) - excludes = list(set(exclude_patterns)) if exclude_patterns is not None else list(_DEFAULT_EXCLUDE) + excludes = ( + list(set(exclude_patterns)) if exclude_patterns is not None else list(_DEFAULT_EXCLUDE) + ) ignore_type_checking_imports = bool( options and options.ignore_type_checking_imports )