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 )