Fix missing checks to enable beman-tidy with --require-all#31
Fix missing checks to enable beman-tidy with --require-all#31teodor994 wants to merge 7 commits into
Conversation
…ation Signed-off-by: Teodor Andrei Vica <teodorvica@gmail.com>
Signed-off-by: Teodor Andrei Vica <teodorvica@gmail.com>
Signed-off-by: Teodor Andrei Vica <teodorvica@gmail.com>
Signed-off-by: Teodor Andrei Vica <teodorvica@gmail.com>
This reverts commit a385a76.
Signed-off-by: Teodor Andrei Vica <teodorvica@gmail.com>
neatudarius
left a comment
There was a problem hiding this comment.
LGTM, but wait codeowners for continuing
| hooks: | ||
| - id: beman-tidy | ||
| - id: beman-tidy | ||
| args: [".", "--verbose", "--require-all"] |
There was a problem hiding this comment.
Peter (@dascandy ), would you like to apply all RECOMMENDATIONS (actually only one left) and enabled --require-all in beman-tidy CI?
Context: During today's hackathon, as discussed in the meeting last Monday (and announced on discourse - https://discourse.bemanproject.org/t/heads-up-bemanification-event-saturday-april-25/575/2), we enabled beman-tidy in default mode on CI (it only checks for requirements; NOT recommendations).
My advice is to enabled --require-all, but as discussed with @bemanproject/project-leads , final decision is at library owners.
LE Also left similar suggestion on attached issue bemanproject/beman-tidy#252 (comment)
|
I'm a bit confused why this PR exists. It's moving a single-type library into a namespace, with the same name as the type. From a strict rules point of view that might make sense, but it only makes it harder to use, and breaks for all existing users, while bringing pretty much no benefit. Why is this a thing? |
Issue: bemanproject/beman-tidy#252
Add hooks in pre-commit file :
--require-all.Modify namespace name into
beman::cstring_viewto align with beman [cpp.namespace] documentation.Output: