diff --git a/isort/settings.py b/isort/settings.py index 73f12d16d..ee7297442 100644 --- a/isort/settings.py +++ b/isort/settings.py @@ -555,7 +555,7 @@ def _check_folder_gitignore(self, folder: str) -> Optional[Path]: if ".git" in _dirs: _dirs.remove(".git") for git_file in git_files: - files.append(os.path.join(root, git_file))\ + files.append(os.path.join(root, git_file)) git_options = ["-C", str(git_folder), "-c", "core.quotePath="] try: ignored = subprocess.check_output( # nosec # skipcq: PYL-W1510