Skip to content

Commit 0e808e0

Browse files
Add pragma: no cover comment to git link branch
1 parent 83a9f68 commit 0e808e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

isort/settings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ def _check_folder_gitignore(self, folder: str) -> Optional[Path]:
555555
for git_file in git_files:
556556
git_path = os.path.join(root, git_file)
557557
# followlinks only disables walking into linked dirs
558-
if not os.path.islink(git_path):
558+
if not os.path.islink(git_path): # pragma: no cover
559559
files.append(git_path)
560560
git_options = ["-C", str(git_folder), "-c", "core.quotePath="]
561561
try:

0 commit comments

Comments
 (0)