mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-12-09 00:53:27 +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",
|
"-y",
|
||||||
"--yes",
|
"--yes",
|
||||||
action="store_true",
|
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("-d", "--distribution", help="Debian distribution to sync from.")
|
||||||
parser.add_argument("-r", "--release", help="Specify target Ubuntu release.")
|
parser.add_argument("-r", "--release", help="Specify target Ubuntu release.")
|
||||||
@ -776,7 +776,9 @@ def main():
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
if args.lp:
|
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
|
continue
|
||||||
else:
|
else:
|
||||||
os.environ["DEB_VENDOR"] = "Ubuntu"
|
os.environ["DEB_VENDOR"] = "Ubuntu"
|
||||||
|
|||||||
@ -734,6 +734,7 @@ class PersonalPackageArchiveSourcePackage(UbuntuSourcePackage):
|
|||||||
|
|
||||||
class UbuntuCloudArchiveSourcePackage(PersonalPackageArchiveSourcePackage):
|
class UbuntuCloudArchiveSourcePackage(PersonalPackageArchiveSourcePackage):
|
||||||
"Download / unpack an Ubuntu Cloud Archive source package"
|
"Download / unpack an Ubuntu Cloud Archive source package"
|
||||||
|
|
||||||
TEAM = "ubuntu-cloud-archive"
|
TEAM = "ubuntu-cloud-archive"
|
||||||
PROJECT = "cloud-archive"
|
PROJECT = "cloud-archive"
|
||||||
VALID_POCKETS = ["updates", "proposed", "staging"]
|
VALID_POCKETS = ["updates", "proposed", "staging"]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user