Post by ylee on Aug 3, 2020 21:09:04 GMT
As many of you know Jeff Hoogland wrote a number of python-efl apps for use with bodhi. These include esudo, epad, apturl-elm and more. Some of these me and a few others helped on. But with python2 being depreciated with bodhi's next release if we include any of these in our repos I would prefer they all be converted to python3.
I did a little work on that already but am hunting for someone to finish the rest. If you know python and wish to help post here or contact me. If you don't know python-efl well or at all don't let that discourage you. It would be a good time to pick up on some of it.
I had a person try but doing it all to my satisfaction was a bit over his abilities and/or time frame. It is a mostly in my opinion a bit of grunt work, but I'm a bit of a perfectionist. It is complicated by the fact Jeff's original code uses camel case. I am wanting our code to pass pep8 type tests so many variables and functions need renamed to conform to that standard, snake_case. Specifically, I want all code to pass flake8, pylint3, and yapf --style google. This will make all our code consistent and ensure it is more pythonic.
Since python3 has some new features and modules try to use them. For example f strings in print statements and the Path module where appropriate. Some of these programs like ePad might need additional work and they all need localized but we can worry about that latter. If no one helps here with this in all likelihood I will not include them in BL 6.0 repos unless absolutely needed and then I do the necessary work. Maybe in time latter I will finish the rest and add them when completed.
Keep in mind right now it is just me and Štefan doing all the coding, we only have so much time and Štefan doesn't know python that well either. So if you see some value in these programs and know python well enough please help.
EDIT: May be of use to some: github.com/hhatto/autopep8
I did a little work on that already but am hunting for someone to finish the rest. If you know python and wish to help post here or contact me. If you don't know python-efl well or at all don't let that discourage you. It would be a good time to pick up on some of it.
I had a person try but doing it all to my satisfaction was a bit over his abilities and/or time frame. It is a mostly in my opinion a bit of grunt work, but I'm a bit of a perfectionist. It is complicated by the fact Jeff's original code uses camel case. I am wanting our code to pass pep8 type tests so many variables and functions need renamed to conform to that standard, snake_case. Specifically, I want all code to pass flake8, pylint3, and yapf --style google. This will make all our code consistent and ensure it is more pythonic.
Since python3 has some new features and modules try to use them. For example f strings in print statements and the Path module where appropriate. Some of these programs like ePad might need additional work and they all need localized but we can worry about that latter. If no one helps here with this in all likelihood I will not include them in BL 6.0 repos unless absolutely needed and then I do the necessary work. Maybe in time latter I will finish the rest and add them when completed.
Keep in mind right now it is just me and Štefan doing all the coding, we only have so much time and Štefan doesn't know python that well either. So if you see some value in these programs and know python well enough please help.
EDIT: May be of use to some: github.com/hhatto/autopep8