Format code with black and isort

```
isort .
black -C . $(grep -l -r '^#! */usr/bin/python3$' .)
```
This commit is contained in:
Benjamin Drung 2025-12-03 12:01:23 +01:00
parent dff0b269d2
commit c6a4c10da2
3 changed files with 7 additions and 4 deletions

View File

@ -523,7 +523,7 @@ def parse():
"-y",
"--yes",
action="store_true",
help="Automatically sync without prompting. Use with caution and care."
help="Automatically sync without prompting. Use with caution and care.",
)
parser.add_argument("-d", "--distribution", help="Debian distribution to sync from.")
parser.add_argument("-r", "--release", help="Specify target Ubuntu release.")
@ -776,7 +776,9 @@ def main():
continue
if args.lp:
if not copy(src_pkg, args.release, args.bugs, sponsoree, args.simulate, args.force, args.yes):
if not copy(
src_pkg, args.release, args.bugs, sponsoree, args.simulate, args.force, args.yes
):
continue
else:
os.environ["DEB_VENDOR"] = "Ubuntu"

View File

@ -734,6 +734,7 @@ class PersonalPackageArchiveSourcePackage(UbuntuSourcePackage):
class UbuntuCloudArchiveSourcePackage(PersonalPackageArchiveSourcePackage):
"Download / unpack an Ubuntu Cloud Archive source package"
TEAM = "ubuntu-cloud-archive"
PROJECT = "cloud-archive"
VALID_POCKETS = ["updates", "proposed", "staging"]