mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-12-08 16:43:51 +00:00
Format code with black and isort
``` isort . black -C . $(grep -l -r '^#! */usr/bin/python3$' .) ```
This commit is contained in:
parent
dff0b269d2
commit
c6a4c10da2
@ -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"
|
||||
|
||||
@ -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"]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user