Merge lp://staging/~jelmer/brz/ruff-pyupgrade into lp://staging/brz

Proposed by Jelmer Vernooij
Status: Merged
Approved by: Jelmer Vernooij
Approved revision: 7879
Merged at revision: 7880
Proposed branch: lp://staging/~jelmer/brz/ruff-pyupgrade
Merge into: lp://staging/brz
Diff against target: 4385 lines (+529/-773)
160 files modified
breezy/_known_graph_py.py (+2/-3)
breezy/archive/tar.py (+1/-2)
breezy/branch.py (+1/-2)
breezy/breakin.py (+2/-3)
breezy/builtins.py (+2/-3)
breezy/bzr/__init__.py (+1/-2)
breezy/bzr/_dirstate_helpers_py.py (+2/-2)
breezy/bzr/_static_tuple_py.py (+1/-1)
breezy/bzr/branch.py (+1/-1)
breezy/bzr/btree_index.py (+1/-2)
breezy/bzr/bundle/bundle_data.py (+9/-11)
breezy/bzr/bundle/serializer/v08.py (+2/-2)
breezy/bzr/bzrdir.py (+2/-3)
breezy/bzr/chk_map.py (+5/-9)
breezy/bzr/dirstate.py (+21/-34)
breezy/bzr/groupcompress.py (+7/-12)
breezy/bzr/groupcompress_repo.py (+11/-17)
breezy/bzr/inventory.py (+12/-18)
breezy/bzr/inventorytree.py (+1/-2)
breezy/bzr/knit.py (+8/-14)
breezy/bzr/knitpack_repo.py (+3/-5)
breezy/bzr/pack_repo.py (+5/-8)
breezy/bzr/remote.py (+4/-6)
breezy/bzr/smart/client.py (+1/-2)
breezy/bzr/smart/medium.py (+6/-9)
breezy/bzr/smart/message.py (+2/-4)
breezy/bzr/smart/protocol.py (+1/-2)
breezy/bzr/tag.py (+3/-5)
breezy/bzr/tests/per_repository_vf/test_check_reconcile.py (+1/-2)
breezy/bzr/tests/per_repository_vf/test_repository.py (+2/-2)
breezy/bzr/tests/test__btree_serializer.py (+1/-2)
breezy/bzr/tests/test__dirstate_helpers.py (+3/-5)
breezy/bzr/tests/test_dirstate.py (+2/-3)
breezy/bzr/tests/test_knit.py (+1/-2)
breezy/bzr/tests/test_pack.py (+1/-2)
breezy/bzr/tests/test_remote.py (+4/-7)
breezy/bzr/tests/test_smart_request.py (+1/-1)
breezy/bzr/tests/test_smart_transport.py (+3/-6)
breezy/bzr/transform.py (+1/-2)
breezy/bzr/versionedfile.py (+4/-6)
breezy/bzr/vf_repository.py (+3/-5)
breezy/bzr/vf_search.py (+2/-2)
breezy/bzr/weave.py (+5/-8)
breezy/bzr/workingtree_4.py (+6/-7)
breezy/bzr/xml5.py (+1/-2)
breezy/commands.py (+3/-4)
breezy/commit.py (+3/-4)
breezy/config.py (+7/-10)
breezy/crash.py (+1/-2)
breezy/delta.py (+6/-6)
breezy/diff.py (+8/-10)
breezy/errors.py (+1/-2)
breezy/export.py (+2/-4)
breezy/fifo_cache.py (+1/-2)
breezy/git/fetch.py (+1/-2)
breezy/git/transform.py (+1/-2)
breezy/git/transportgit.py (+1/-1)
breezy/git/tree.py (+4/-4)
breezy/git/workingtree.py (+1/-1)
breezy/globbing.py (+2/-2)
breezy/graph.py (+2/-3)
breezy/log.py (+1/-2)
breezy/mail_client.py (+4/-4)
breezy/merge.py (+2/-4)
breezy/missing.py (+1/-1)
breezy/msgeditor.py (+2/-4)
breezy/multiparent.py (+2/-2)
breezy/multiwalker.py (+2/-4)
breezy/osutils.py (+2/-3)
breezy/plugin.py (+4/-5)
breezy/plugins/bash_completion/bashcomp.py (+35/-37)
breezy/plugins/bash_completion/tests/test_bashcomp.py (+2/-4)
breezy/plugins/email/tests/testemail.py (+1/-2)
breezy/plugins/fastimport/bzr_commit_handler.py (+3/-6)
breezy/plugins/fastimport/exporter.py (+5/-8)
breezy/plugins/fastimport/helpers.py (+1/-1)
breezy/plugins/fastimport/revision_store.py (+1/-2)
breezy/plugins/gitlab/forge.py (+1/-1)
breezy/plugins/launchpad/lp_api.py (+1/-2)
breezy/plugins/launchpad/lp_directory.py (+1/-1)
breezy/plugins/po_merge/po_merge.py (+1/-2)
breezy/plugins/po_merge/tests/test_po_merge.py (+14/-14)
breezy/plugins/propose/cmds.py (+1/-2)
breezy/plugins/repodebug/check_chk.py (+1/-2)
breezy/plugins/repodebug/chk_used_by.py (+1/-2)
breezy/plugins/rewrite/rebase.py (+1/-2)
breezy/plugins/upload/cmds.py (+2/-4)
breezy/plugins/weave_fmt/bzrdir.py (+1/-2)
breezy/plugins/weave_fmt/store/__init__.py (+1/-2)
breezy/plugins/webdav/tests/dav_server.py (+1/-1)
breezy/plugins/zsh_completion/zshcomp.py (+1/-2)
breezy/repository.py (+7/-10)
breezy/shellcomplete.py (+1/-2)
breezy/status.py (+1/-1)
breezy/tests/__init__.py (+16/-28)
breezy/tests/blackbox/test_branch.py (+4/-5)
breezy/tests/blackbox/test_config.py (+4/-4)
breezy/tests/blackbox/test_info.py (+14/-28)
breezy/tests/blackbox/test_init.py (+3/-6)
breezy/tests/blackbox/test_merge.py (+1/-2)
breezy/tests/blackbox/test_non_ascii.py (+7/-10)
breezy/tests/blackbox/test_ping.py (+1/-1)
breezy/tests/blackbox/test_push.py (+1/-2)
breezy/tests/blackbox/test_reconcile.py (+8/-12)
breezy/tests/blackbox/test_remember_option.py (+10/-10)
breezy/tests/blackbox/test_switch.py (+2/-2)
breezy/tests/blackbox/test_tags.py (+1/-2)
breezy/tests/blackbox/test_upgrade.py (+5/-7)
breezy/tests/blackbox/test_version.py (+1/-1)
breezy/tests/http_server.py (+1/-1)
breezy/tests/http_utils.py (+4/-4)
breezy/tests/per_branch/test_branch.py (+1/-2)
breezy/tests/per_controldir/test_controldir.py (+2/-4)
breezy/tests/per_interbranch/test_copy_content_into.py (+1/-2)
breezy/tests/per_interbranch/test_pull.py (+11/-22)
breezy/tests/per_interbranch/test_push.py (+8/-16)
breezy/tests/per_workingtree/test_smart_add.py (+2/-2)
breezy/tests/ssl_certs/create_ssls.py (+18/-20)
breezy/tests/stub_sftp.py (+3/-3)
breezy/tests/test__known_graph.py (+1/-2)
breezy/tests/test_branch.py (+1/-1)
breezy/tests/test_config.py (+3/-4)
breezy/tests/test_email_message.py (+10/-10)
breezy/tests/test_errors.py (+1/-2)
breezy/tests/test_foreign.py (+2/-2)
breezy/tests/test_globbing.py (+2/-4)
breezy/tests/test_http.py (+1/-1)
breezy/tests/test_info.py (+1/-2)
breezy/tests/test_lazy_import.py (+8/-11)
breezy/tests/test_lru_cache.py (+5/-6)
breezy/tests/test_matchers.py (+1/-2)
breezy/tests/test_msgeditor.py (+1/-2)
breezy/tests/test_nonascii.py (+1/-2)
breezy/tests/test_osutils.py (+2/-4)
breezy/tests/test_patch.py (+2/-2)
breezy/tests/test_revisionspec.py (+5/-7)
breezy/tests/test_server.py (+2/-4)
breezy/tests/test_sftp_transport.py (+1/-1)
breezy/tests/test_source.py (+1/-2)
breezy/tests/test_test_server.py (+1/-1)
breezy/tests/test_tsort.py (+2/-4)
breezy/transform.py (+1/-2)
breezy/transport/__init__.py (+1/-1)
breezy/transport/decorator.py (+1/-2)
breezy/transport/http/response.py (+2/-4)
breezy/transport/http/urllib.py (+6/-8)
breezy/transport/log.py (+1/-2)
breezy/transport/memory.py (+3/-3)
breezy/transport/remote.py (+4/-4)
breezy/transport/sftp.py (+3/-4)
breezy/transport/ssh/__init__.py (+1/-1)
breezy/transport/ssh/paramiko.py (+4/-7)
breezy/ui/text.py (+2/-3)
breezy/util/simplemapi.py (+1/-1)
breezy/views.py (+1/-2)
pyproject.toml (+1/-0)
setup.py (+1/-2)
tools/capture_tree.py (+2/-2)
tools/fixed-in.py (+1/-2)
tools/rst2html.py (+3/-3)
To merge this branch: bzr merge lp://staging/~jelmer/brz/ruff-pyupgrade
Reviewer Review Type Date Requested Status
Jelmer Vernooij Approve
Review via email: mp+452480@code.staging.launchpad.net

Commit message

Enable pyupgrade in ruff

Description of the change

Enable pyupgrade in ruff

To post a comment you must log in.
Revision history for this message
Jelmer Vernooij (jelmer) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches