-
Notifications
You must be signed in to change notification settings - Fork 129
bumpversion command adds a newline in bumpversion.cfg #58
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
Comments
I used the
|
@avilaton You are right, this is a viable workaround, but it still seems to be something that could be fixed directly on bump2version |
For more info check here: c4urself/bump2version#58
Related: peritus/bumpversion#179 Patch:
Don't know if it'd still work |
Nice find, @arielnmz. I just tried that fix and it worked for me. |
Opened a new PR heavily inspired by the previous ones here, full credit to the previous authors :) |
Also disable end-of-file pre-commit checks, as bumpversion adds a newline, see c4urself/bump2version#58.
mosdef-hub/gmso#602 is
|
Uh oh!
There was an error while loading. Please reload this page.
I am using pre-commit and one of the hooks I use is is
end-of-line-fixer
:This seems to be causing issues to bump2version. More specifically, bump2version seems to be adding an extra empty line at the end of
.bumpversion.cfg
which make the hook to fail. As a result, the commit is being aborted.Is that extra line necessary?
The text was updated successfully, but these errors were encountered: