Skip to content

Commit 2f48d4b

Browse files
committed
Ignore complexity check
1 parent b9d7efc commit 2f48d4b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

isort/main.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1059,6 +1059,9 @@ def identify_imports_main(
10591059
print(str(identified_import))
10601060

10611061

1062+
# Ignore DeepSource cyclomatic complexity check for this function. It is one
1063+
# the main entrypoints so sort of expected to be complex.
1064+
# skipcq: PY-R1000
10621065
def main(argv: Sequence[str] | None = None, stdin: TextIOWrapper | None = None) -> None:
10631066
arguments = parse_args(argv)
10641067
if arguments.get("show_version"):

0 commit comments

Comments
 (0)