Skip to content

Commit

Permalink
Add ignore for PY-R1000
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielNoord committed Jan 9, 2025
1 parent de6403c commit 9abe8d7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions isort/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,9 @@ def _file_output_stream_context(filename: Union[str, Path], source_file: File) -
yield output_stream


# Ignore DeepSource cyclomatic complexity check for this function. It is one
# the main entrypoints so sort of expected to be complex.
# skipcq: PY-R1000
def sort_file(
filename: Union[str, Path],
extension: Optional[str] = None,
Expand Down

0 comments on commit 9abe8d7

Please sign in to comment.