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 center_* support #37

Merged
merged 6 commits into from
Oct 27, 2022
Merged

Add center_* support #37

merged 6 commits into from
Oct 27, 2022

Conversation

nshan651
Copy link
Contributor

Hi there! A couple weeks ago I commented on PR/24 about being interested in making pybadges more generic. I've finally had the bandwidth to work on this, and I thought it made sense to open a new PR with support for center_* attributes.

This PR makes right_text optional and adds support for center_image, center_link, center_color, center_title, and embed_center_image.

It should pass the linting and current unit test checks. I tried adding a new test for a center image, but I'm not sure if it was added properly (nox still shows 17 tests). I'm happy to create some more tests for more complete coverage once I get it figured out!

Thank you :)

@brianquinlan brianquinlan merged commit c855208 into google:master Oct 27, 2022
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