-
Notifications
You must be signed in to change notification settings - Fork 356
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
Inconsistent output for code quality checks #39
Comments
I will investigate it. |
Thanks! Some more info: This is the diff it wants
When I make that change manually, and then run The only change I've made to your initial config @tianjianjiang is that I added |
I suspect that's an unwelcome side effect from
That is simplified from |
Yes, if i remember correctly, there is some inconsistency between black and isort import conventions -> PyCQA/isort#1518 |
If the problem is from a black/isort compatibility, I believe we can fix that using this: You define a config file for isort and have "black" for the profile |
@tianjianjiang after reading @arnaudstiegler's comment, you also need to import the |
@VictorSanh @arnaudstiegler Thank you guys and sorry for the late reaction. |
See this for an example: bc0a8f1
make style
says that it is reformattingpromptsource/promptsource.py
but there is no diff afterwards. Rerunningmake style
produces the same output andmake quality
fails, saying that it would be reformatted.The text was updated successfully, but these errors were encountered: