Mercurial > public > mercurial-scm > hg-stable
comparison contrib/automation/hgautomation/cli.py @ 51749:493034cc3265
black: format the codebase with 23.3.0
The CI has moved to 23.3.0, which is the last version that supports 3.7
at runtime, so we should honor this change.
# skip-blame mass-reformating only
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Thu, 18 Jul 2024 12:36:12 +0200 |
parents | 4561ec90d3c1 |
children | 7f0cb9ee0534 |
comparison
equal
deleted
inserted
replaced
51748:39e2b2d062c1 | 51749:493034cc3265 |
---|---|
199 ensure_extra_volume = filesystem not in ('default', 'tmpfs') | 199 ensure_extra_volume = filesystem not in ('default', 'tmpfs') |
200 | 200 |
201 with aws.temporary_linux_dev_instances( | 201 with aws.temporary_linux_dev_instances( |
202 c, image, instance_type, ensure_extra_volume=ensure_extra_volume | 202 c, image, instance_type, ensure_extra_volume=ensure_extra_volume |
203 ) as insts: | 203 ) as insts: |
204 | |
205 instance = insts[0] | 204 instance = insts[0] |
206 | 205 |
207 linux.prepare_exec_environment( | 206 linux.prepare_exec_environment( |
208 instance.ssh_client, filesystem=filesystem | 207 instance.ssh_client, filesystem=filesystem |
209 ) | 208 ) |