-
Notifications
You must be signed in to change notification settings - Fork 136
Some pylint and pyupgrade cleanups #29
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
Conversation
this one |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #29 +/- ##
=======================================
Coverage 74.22% 74.22%
=======================================
Files 174 174
Lines 48734 48734
Branches 10367 10367
=======================================
Hits 36175 36175
Misses 10272 10272
Partials 2287 2287
|
We can merge after the conflicts are sorted out |
Note that merging this will make downstreaming PRs quite a bit harder. |
It's a relatively small fraction of the codebase that's changing, and most of it are removals of |
hehe, I was literally seconds away from checking out and rebasing this branch when @ricardoV94 merged it 😄 Nice work everybody! |
I first applied
pyupgrade --py3-plus
, then--py36-plus
which introduced f-strings, then--py37-plus
(the current oldest alive Python version) which didn't have any new changes.Note that none of these cleanups should change the semantics of the code except this one which was probably a bug but I would be glad if somebody could confirm.
Here are a few important guidelines and requirements to check before your PR can be merged:
pre-commit
is installed and set up.Don't worry, your PR doesn't need to be in perfect order to submit it. As development progresses and/or reviewers request changes, you can always rewrite the history of your feature/PR branches.
If your PR is an ongoing effort and you would like to involve us in the process, simply make it a draft PR.