.bumpversion.cfg:7: new blank line at EOF.
See original GitHub issueI am using latest version of bumpversion. When I command bumpversion patch
with a pre-defined .bumpversion.cfg
it always shows me the error message below:
.bumpversion.cfg:7: new blank line at EOF.
I had strip the new blank line but bumpversion
seems like adding another newline for me automatically. Any thoughts?
Issue Analytics
- State:
- Created 9 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
bumpversion command adds a newline in bumpversion.cfg #58
I am using pre-commit and one of the hooks I use is is end-of-line-fixer: end-of-file-fixer - Makes sure files end in a newline...
Read more >git: new blank line at EOF - Stack Overflow
So I run git diff --check before add -ing files and commit -ing them, and on two specific files I get path/filename:linenumber: new...
Read more >bump2version to increment pre-release while removing post ...
I've tried, for example, bump2version --verbose prerelversion or alternatively with --new-version=1.0.0.a3 explicitly. Both of those attempts retain the .post0 ...
Read more >Changelog — Airflow Documentation
The full changelog is about 3,000 lines long (already excluding everything backported to 1.10) ... Fix empty asctime field in JSON formatted logs...
Read more >Changes - LYNX
+ add command-line option, etc., for controlling whether blank lines are trimmed ... http://translationproject.org/latest/lynx * tidy whitespace in lynx.cfg ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
adding another blank line fails precommit scripts too https://github.com/pre-commit/pre-commit-hooks/blob/master/pre_commit_hooks/end_of_file_fixer.py
in my case version bump is part of ci process which results in precommit failures like:
would be nice to make this configurable. meanwhile have to skip precommit on bump file itself
Yep, I think it shouldn’t append another additional blank line.