Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'extensions' hook for plugins #14

Merged
merged 3 commits into from
Mar 19, 2024

Conversation

llange
Copy link
Contributor

@llange llange commented Mar 15, 2024

This new hook allows to add new Jinja2 extensions in the Environment.

Copy link
Owner

@kpfleming kpfleming left a comment

Choose a reason for hiding this comment

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

This is a good start! Before pushing an update to the branch, be sure you've installed Hatch and run hatch run lint:lint. That will run Ruff and other tools to ensure that the formatting is correct so the CI 'lint' check will pass :)

plugin_example/jinjanator_ansible_debug.py Outdated Show resolved Hide resolved
plugin_example/pyproject.toml Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@llange llange force-pushed the add-jinja2-extensions branch from 7f85526 to 10ae187 Compare March 18, 2024 16:06
@kpfleming
Copy link
Owner

Nice work! I'll get this merged, add a Changelog entry, and then get a release made. That will happen tomorrow morning US Eastern time as I'm wrapping up my day already today :)

@kpfleming kpfleming merged commit ec5f2aa into kpfleming:main Mar 19, 2024
12 checks passed
kpfleming added a commit that referenced this pull request Mar 19, 2024
@kpfleming
Copy link
Owner

Version 24.1.0 has been released!

@llange llange deleted the add-jinja2-extensions branch March 20, 2024 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants