Several improvements to lb-format
based on user feedback, I made several improvements to lb-format (apart from minor improvements/fixes)
- try to ensure that a
.clang-format
file is present- if not found try to create it in the topdir of the git project, if any
- added mode to format all formattable files (both for
--format-patch
or in-place reformatting) - added a
--dry-run
option to just show which files would be modified - modified
--format-patch
to produce the patch file without modifying any file - support stdout as
--format-patch
destination - added
--pipe
mode to format from stdin to stdout
CC: @jonrob
Merge request reports
Activity
@jonrob, as discussed in private mails, I added the
lb-clang-format
alias, which internally uses the same lookup code oflb-format
(refactored more or less as you did).In principle there would not be a need for the wrapper for
yapf
, but having it would help making sure we use the right version... may be done later.mentioned in commit 3d3bef0f
changed milestone to %0.4.4
Please register or sign in to reply