Skip to content
Commit 24f637bc authored by David Stensland's avatar David Stensland
Browse files

skip files even when file_contents is provided

git hooks provide both file_path and file_contents. Previously,
should_skip only checked if file path was provided without
file_contents. This introduced a situation where the isort git hook
would fail on files that isort wouldn't touch.

Related PR: https://github.com/timothycrosley/isort/pull/218
parent faa250aa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment