-
Notifications
You must be signed in to change notification settings - Fork 9
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
multi feature request: Python 3 support + style + logging + documentation #7
Comments
|
Thank you for your answer! I'd like to do a simple linter pass first (that is, not changing anything related to the code logic). What would be your preference for max line length? (I usually stick with the 80 chars hard line break, but that's a matter of personal preference). |
Line length is the one linter warning I usually ignore - simply because the syntax for line-splits has never been very obvious for me, or very consistent. |
I have added py3 support. |
I reviewed the patch, and have merged it to the master branch. |
@neitsa I am preparing for a 0.1.0 stable release sometime next week. At this stage there are no more critical bugs I know about. I would like to include your linter patch in that if you can have it ready in time. If you can get it to me by Wednesday or so, I'll have time to test and review and we can release by next weekend. Otherwise linting has to wait for the next release. Your other feature requests I'm pushing back to 0.2.0 though they will be part of the major focus in the upcoming release. My biggest concern this time round was just to get the thing stable which, considering the enormity of variation in modules and the very bizarre ways CKAN represents them was a major job. I now have the most modded KSP game I have ever had as I tried to throw the most complex mods I could find at the thing to see what breaks. |
Awesome @ajventer ! 😃 I started to make Flake8 passes on the code but haven't finished yet :(. I don't know if it will be ready next week (we are gonna release RemoteTech), but I'll try to do my best. I don't want to push a half finished job though. Anyway, thanks a lot for your feedback and your project! Keep up the good work 👍 |
Good to hear RT is under active development still :) will be interesting to see how you guys integrate it with commnet. It's not critical -a linter pass is ultimately just about readability, not operation and while that's important it's not critical. If we can't get it in, then we do it for the next release, I just wanted to give you an opportunity to get your work in if you want to. I'll probably not release before Saturday so let's see what happens. |
Hello @ajventer, thank you for your great work :)
I have a couple of requests, they are all optional:
logging
module rather than a DEBUG flagsix
module (available as a standard module on most platforms), and/or using__future__
for basic stuffs)typing
module (see also PEP 526) if you switch to python3.That may sound like a lot of nitpicking (notably about the style), but that would make the source code little bit more readable and would probably find some possible defects.
Flake8
is by default configured for a hard line break at 80 chars, but you might want to extend that a little bit (e.g. 100).Thank you o/
The text was updated successfully, but these errors were encountered: