Closed 2000yeshu closed 3 years ago
I had the same error, seems like it isn't parsing args for isort
correctly. There is no space between ./
and the arguments. A simple fix for me was adding a space after ./
- repo: https://github.com/timothycrosley/isort
rev: 5.0.5
hooks:
- id: isort
files: "./ "
args: ["--atomic", "--skip migrations"]
That's wierd..It didn't came up before. I'll make that change.
Also what type of changes are you making to test each type of hook
Some simple changes to manage.py
covered several of these hooks. There isn't any need to test the hooks themselves (since the library has done that for us), but rather just to confirm that every hook that we have included runs as expected.