Skip to content

format extension names in module files with exts_formatter function - #5186

Open
smoors wants to merge 5 commits into
easybuilders:developfrom
smoors:exts_formatter
Open

format extension names in module files with exts_formatter function#5186
smoors wants to merge 5 commits into
easybuilders:developfrom
smoors:exts_formatter

Conversation

@smoors

@smoors smoors commented May 2, 2026

Copy link
Copy Markdown
Contributor

will do nothing without companion easyblock PR (so can be safely merged):

but it needs to be merged to make the easyblock PR work.

@smoors smoors changed the title format extension names in module files with exts_formatter function format extension names in module files with exts_formatter function May 2, 2026
@boegel boegel added this to the next release (5.3.2 or 5.4.0) milestone Jul 29, 2026

if formatted:
formatter = self.cfg.get('exts_formatter')
if formatter:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can/should we check whether formatter is indeed a function, and throw a sensible error if not?

Without that, error messages produced when say exts_formatter = True is used will be quite nasty/confusing...

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done in 610c21c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants