Skip to content

Commit

Permalink
fix too-long line
Browse files Browse the repository at this point in the history
  • Loading branch information
bmalehorn committed Feb 19, 2022
1 parent ffe6d76 commit 1e22ced
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion isort/settings.py
Expand Up @@ -637,7 +637,11 @@ def is_skipped(self, file_path: Path) -> bool:

# git_ls_files are good files you should parse. If you're not in the allow list, skip.

if git_folder and not file_path.is_dir() and str(file_path.resolve()) not in self.git_ls_files[git_folder]:
if (
git_folder
and not file_path.is_dir()
and str(file_path.resolve()) not in self.git_ls_files[git_folder]
):
return True

return False
Expand Down

0 comments on commit 1e22ced

Please sign in to comment.