-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
Replace f-string with "...".format(...) #146
Conversation
Change adding Python 3.5 support.
Alternate syntax of PR #143, again, to add Python 3.5 compatibility. |
|
||
fields = [x.strip() for x in filename.split(".")] | ||
assert len(fields) >= 4, f"Can't parse 'next' filename! filename {filename!r} fields {fields}" | ||
assert len(fields) >= 4, "Can't parse 'next' filename! filename {!r} fields {}".format(filename, fields) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line is surely longer than 79 characters.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PEP 8 allows up to 120 characters. The file already contains lines longer than 120 characters (before my change) ;-)
Thank you for doing this @Haypo! |
Brett, could you please update the version on PyPI? Current version is installable on 3.5, but doesn't work. |
@serhiy-storchaka sure, but I'm traveling ATM so I won't be able to get to it until I return home (no later than sometime next week). |
Prior to releasing to PyPI, I think this line in flit.ini should be updated so it can work with Python < 3.6. The readme still states "blurb's only dependency is Python 3.6+.", guess that should be updated too. |
I updated the version number, tweaked the trove classifiers, fixed the README, pushed 1.0.1 to PyPI, and then bumped the version number for future development. |
Unfortunately
still installs version 1.0. And explicit specifying the version 1.0.1 doesn't work.
|
Change adding Python 3.5 support.