at master 481 B view raw
1diff --git a/pylama/hook.py b/pylama/hook.py 2index 029c9dc..9f1a9b9 100644 3--- a/pylama/hook.py 4+++ b/pylama/hook.py 5@@ -26,7 +26,7 @@ def run(command: str) -> Tuple[int, List[bytes], List[bytes]]: 6 7 def git_hook(error=True): 8 """Run pylama after git commit.""" 9- _, files_modified, _ = run("git diff-index --cached --name-only HEAD") 10+ _, files_modified, _ = run("@git@ diff-index --cached --name-only HEAD") 11 12 options = parse_options() 13 setup_logger(options)