-
-
Notifications
You must be signed in to change notification settings - Fork 580
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pre-commit fails with TypeError #1475
Comments
@kbehlers, Thanks for reporting this issue! This error just means you have a config file lying around somewhere in your project with |
@timothycrosley Thank you for clearing that up for me, and pointing me in the right direction! That was 100% the problem, and I finally found the setting hanging out in |
Glad that worked! Your issue did highlight how confusing the current error behaviour was so I've updated that in develop which will make it's way out in the next release: #1476 Thanks! ~Timothy |
When I attempt to run the pre-commit command, I get a
TypeError
.If I modify this line
isort/isort/settings.py
Line 87 in dad6237
then the command works.
So it seems somewhere along the line the
combined_config
from/isort/settings.py
is picking up the deprecated--apply
flag and passing it.python3.8
pre-commit==2.7.1
The text was updated successfully, but these errors were encountered: