У меня есть Python
проект, который, когда я пытаюсь зафиксировать (через miniconda) с:
$ git add -A && git commit -m `test`
, я получаю следующую ошибку:
(base) D:\machinelearning.com-python>git commit -m 'test'
[WARNING] Unstaged files detected.
[INFO] Stashing unstaged files to C:\Users\anon/.cache\pre-commit\patch1570560215.
Trim Trailing Whitespace.................................................Passed
Check for added large files..............................................Passed
Check python ast.........................................................Passed
Check JSON...........................................(no files to check)Skipped
Check for merge conflicts................................................Passed
Check Xml............................................(no files to check)Skipped
Check Yaml...........................................(no files to check)Skipped
Debug Statements (Python)................................................Passed
Fix End of Files.........................................................Passed
Fix requirements.txt.................................(no files to check)Skipped
Mixed line ending........................................................Passed
Flake8...................................................................Passed
isort....................................................................Failed
hookid: isort
Files were modified by this hook. Additional output:
Fixing D:\machinelearning.com-python\scripts\train_model.py
[INFO] Restored changes from C:\Users\anon/.cache\pre-commit\patch1570560215.
Ошибка последней строки.
Есть идеи, как решить эту проблему?
Спасибо!