Merge ~cjwatson/launchpadlib:pyupgrade into launchpadlib:main
Proposed by
Colin Watson
Status: | Merged |
---|---|
Merged at revision: | 5ecb0dd8bc968420496fe33bbf0130bc1046a758 |
Proposed branch: | ~cjwatson/launchpadlib:pyupgrade |
Merge into: | launchpadlib:main |
Diff against target: |
46 lines (+7/-6) 3 files modified
.pre-commit-config.yaml (+5/-0) src/launchpadlib/launchpad.py (+1/-3) src/launchpadlib/testing/launchpad.py (+1/-3) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jürgen Gmach | Approve | ||
Review via email: mp+412003@code.launchpad.net |
Commit message
Apply pyupgrade
To post a comment you must log in.
Personally I like the % and f-string formatting and the format thing not so much.
I would have ran pyupgrade with `--keep- percent- format` until we are on Python 3.6 and use f-strings, but as I said this is a very personal thing, and certainly no blocker :-)
LGTM!