Skip to content

Commit b7798a8

Browse files
Merge pull request #25 from freud14/fix/lint-line-too-long
fix: wrap long line in extract_graph to pass ruff E501
2 parents 1d77892 + f291181 commit b7798a8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎src/archunitpython/common/extraction/extract_graph.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ def extract_graph(
5858
project_path = os.getcwd()
5959

6060
project_path = os.path.abspath(project_path)
61-
excludes = list(set(exclude_patterns)) if exclude_patterns is not None else list(_DEFAULT_EXCLUDE)
61+
excludes = (
62+
list(set(exclude_patterns)) if exclude_patterns is not None else list(_DEFAULT_EXCLUDE)
63+
)
6264
ignore_type_checking_imports = bool(
6365
options and options.ignore_type_checking_imports
6466
)

0 commit comments

Comments
 (0)