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
Code quality improvements #273
Conversation
Looks good! Great! Did you intentionally remove host uri parsing in _resolve_settings? |
Yep, I removed it since it was commented out. If we need to bring it back, it's still in the git history. Appreciate you double-checking it though! |
I just did a self-review as a sanity check and everything looks good to me. One other thing I'd like to get rid of completely is the ugly |
Oh, I didn't see that code was commented out (it wasn't obvious when using colored split diff on GitHub). TBH, I didn't check every line. I trust you on keeping this low-level and sticking to style changes. Hence my surprise about what appeared to me like a feature removal. I also hope the tests would have pointed a breaking change. I'm merging this. Thanks. BTW, you're achieving a lot of work on flask-mongoengine, lately. Would you like to join the team? |
Thanks. I like sending separate PRs for separate issues so that things are easier to review, easier to revert, and easier to blame :) Hence this PR didn't alter any logic.
I'd love to! We just started working on a new service at my company and we decided to use upstream mongoengine/flask-mongoengine (as opposed to our forks), hence I expect to pay a lot of attention to this repo. |
@MongoEngine/flask-mongoengine, @MongoEngine/mongoengine, could anybody with admin privileges add @wojcikstefan to the organization and to both teams? (And perhaps also give me admin privileges on flask-mongoengine repo. Apparently, I can only access MongoEngine settings.) Thanks. |
@MongoEngine/flask-mongoengine, @MongoEngine/mongoengine looking forward to being part of the team and contributing more :) |
@lafrech do you have a way to contact the admins? I'd love to join the team sooner rather than later, so that I can spend some spare time triaging issues :) |
@wojcikstefan see MongoEngine/mongoengine#1342 (comment). You can also try to catch up with team members on IRC: |
My apologies for the late response. |
This is a follow-up after #270. I tightened flake8's code checking, added flake8-import-order and fixed existing imports (see https://www.python.org/dev/peps/pep-0008/#imports for details), and added some minor style tweaks.
@lafrech let me know what you think :)