-
Notifications
You must be signed in to change notification settings - Fork 43
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
Only support python 3.6+ going forward + migrate to use some 3.6 features #109
Comments
Hi ! I can work on this. Switch to |
Sure that would be great! I already did most of the f-strings (you can take a look at the |
I converted remaining Regarding other 3.6 features, there is not much useful syntax improvement other than Even if it's prior to 3.6, we could also switch from |
Yes, type annotations are tracked in a separate issue: #77 Would definitely like to get to those, since it makes IDE style intellisense in VSCode and PyCharm work a lot better |
You plan on annotating types for variables too? So not only function arguments and return values but also proper vars? I can start working on it, one file at a time, at a smooth and easy pace 😁 Beforehand, can you give a look to #112? Especially for multiple spaces around operators as in: self._height = height
self._width = width
self._height = self._height - 4 I'd like to know what you think about it before starting annotating. |
I believe this has been mostly completed - the primary syntax improvement I wanted to account for was the
|
Is your feature request related to a problem? Please describe.
Currently
py_cui
supports as far back as python 3.2, however, there are some features with newer python versions that would help a lot with developmentDescribe the solution you'd like
Move the minimum python version to 3.6, and integrate some initial features that were previously unsupported by older python versions
Additional context
Start with converting all
.format
instances tof-strings
The text was updated successfully, but these errors were encountered: