-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
Make code base compliant with PEP-8 E-261. #5144
Conversation
Automated message from Dropbox CLA bot @adnrs96, it looks like you've already signed the Dropbox CLA. Thanks! |
Merged, thanks @adnrs96! Leaving this open so you can add more commits. What are the PRs conflicting with the big files left (e.g. models.py)? It might make sense to just convert those and suffer a few conflicts. |
I think some of the conflicts PRs are now cleaned up / closed. I think you can definitely proceed with I think we should be able to clear out several more of the PRs that conflict here in the next week or so. #3367 and #1747 already have a lot of conflicts and we can ignore for this purpose. |
@timabbott Did some more clean up. Still there are around 20 of files from that list pending. |
3054847
to
99edb94
Compare
Great, merged! I think shortly after 1.6 we'll be able to merge several of the conflicting PRs. |
Heads up @adnrs96, we just merged some commits (latest: 5fe7ed8) that conflict with the changes your made in this pull request! You can review this repository's recent commits to see where the conflicts occur. Please rebase your feature branch against the |
None of these are merge conflict free, I tried to order them as
Will post the conflict report after this in separate message. (My theory for low number of changes was that conflicts would probably be easy to solve if we end up merging them) |
@timabbott Please take a look. |
I looked through these, and they all seemed pretty low-risk except models.py and bugdown, which I think we just need to merge at this point. Merged, thanks @adnrs96! Looking at the remaining changes, to test files, I think it's probably safe to push those through. The PRs they'll conflict with all basically just add new tests, so there's unlikely to be interesting merge conflicts. So I think we can finish this off! |
Sure, I will update the PR. |
Heads up @adnrs96, we just merged some commits that conflict with the changes your made in this pull request! You can review this repository's recent commits to see where the conflicts occur. Please rebase your feature branch against the |
@timabbott Just updated this. After this pep8 E261 migrations will come to an end 🎉 |
hmm, I left out a glitch earlier and that's why the tests failed but fixed it. |
Merged, thanks @adnrs96! It's awesome to have this big migration complete :) |
This PR will track the commits which will eventually lead our code base to 100% compliance with the PEP-8 E-261. According to E-261 two spaces must be used before making an inline comment.
This contains changes which might cause merge conflicts but won't require manual intervention while rebasing. Automerge can deal with them. Also after this some 26 files are left before we can enable this check in linters.