-
Notifications
You must be signed in to change notification settings - Fork 35
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
chore: fix pre-commit failures #22
chore: fix pre-commit failures #22
Conversation
In general, we try to avoid reformatting the migrations files. Presumably, you ran |
What exactly did it fix? It seems that the PR only contains re-formatting changes, none of which are connected to the pre-commit config (you might be missing the config file changes). Additionally, while running all formatters in root might look like a good idea, we intend to place frontend (non-python) files in a Moreover, it seems that |
No, it doesn't solve the issue at all. You don't have to run
Again, exclude them from being automatically reformatted in pre-commit hooks.
I haven't changed the pre-commit config - and that's the whole point of this PR. I've indeed run
It will happen unless you exclude them from being run in
I guess my comments above answer that as well. |
+1 to what @m4tx reported, pre-commit is broken. |
Anyway, it wasn't really the point of this PR, but I've modified the pre-commit config. Next time, please make sure that the files in your repository conform to the |
Thanks a lot for a kind reminder, though I do not quite understand the |
What I've meant is that, because |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, pls rebase
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rebase requested
Pre-commit hooks used to fail on the project's master branch when running on all files; this commit fixes that.
@ConsoleRunner done |
Pre-commit hooks used to fail on the project's master branch when
running on all files; this commit fixes that.