Skip to content

Refactor to consistently init script and style in make_title_entry - #619

Merged
jonasbardino merged 1 commit into
nextfrom
refactor/script-and-style-helper-init-and-avoid-empty-dict-default-trap-in-make-title-entry-args-plus-lint
Jul 30, 2026
Merged

jonasbardino merged 1 commit into
nextfrom
refactor/script-and-style-helper-init-and-avoid-empty-dict-default-trap-in-make-title-entry-args-plus-lint

Conversation

@jonasbardino

Copy link
Copy Markdown
Contributor

Move title style and script helper dicts from output to init module and integrate them in make_title_entry when no style or script arg is passed to avoid the typical empty dict default arg trap and add consistency.
Addressed a bunch of lint warnings from ruff.

Effectively replaces #615 which was otherwise gutted by latest changes to #612.

…le and

integrate them in `make_title_entry` when no `style` or `script` arg is passed
to avoid the typical empty dict default arg trap and add consistency.
Addressed a bunch of linting warnings from ruff.

@Martin-Rehr Martin-Rehr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved

@jonasbardino
jonasbardino merged commit aba2caa into next Jul 30, 2026
17 checks passed
@jonasbardino
jonasbardino deleted the refactor/script-and-style-helper-init-and-avoid-empty-dict-default-trap-in-make-title-entry-args-plus-lint branch July 30, 2026 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants