Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

capjamesg
Copy link
Member

This PR includes three changes:

  1. Enable the experimental img_with_alt=True attribute to allow this website to send alt texts. More context on this feature is available in the mf2py Experimental features documentation.
  2. Bumps the version for most packages and the Python runtime. This PR moves the project to use Python 3.9 instead of Python 2.
  3. Adds a --debug optional command line parameter to the app.py file. This will aid contributors with local debugging.

I deployed my PR onto a blank Heroku environment to make sure everything works, which you can test below:

https://mf2pyonline.herokuapp.com/

Copy link
Member

@tantek tantek left a comment

Choose a reason for hiding this comment

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

While this seems ok as an update, I would have preferred if the cleanup/codestyle aspects (different quotes, different lines for parentheses, different line breaks for conditional clauses, etc.) were done in a separate PR either before/after so it was easier to review functional changes separate from cosmetic/stylistic changes.

@jalcine
Copy link
Member

jalcine commented Dec 8, 2022

Seconding #5 (review) as I think just the bit re: upgrading to Python 3.9 will close #7.

(Originally published at: https://jacky.wtf/2022/12/9DMy)

@snarfed
Copy link
Member

snarfed commented Dec 8, 2022

LGTM. Agreed with @tantek that ideally style and functional changes should be separated in the future. Otherwise, ship it!

Copy link
Member

@kevinmarks kevinmarks left a comment

Choose a reason for hiding this comment

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

Updating to python 3.9 makes a lot of sense, and I am taking the library updates on trust

@snarfed snarfed merged commit 9428b5c into microformats:master Dec 8, 2022
This was referenced Dec 8, 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.

5 participants