pre-commit: update black to 21.5b1 (#6032)

* pre-commit: update black to 21.5b1

also updated others, but black is more noticeable

* remove magic trailing comma
This commit is contained in:
Saugat Pachhai
2021-05-18 15:51:15 +00:00
committed by GitHub
parent 58c465ef13
commit b9000ed926
154 changed files with 346 additions and 570 deletions
+9 -3
View File
@@ -43,7 +43,9 @@ version = dvc_version.__version__
)
check_call(
["python", "build.py"], cwd=pyinstaller, stderr=STDOUT,
["python", "build.py"],
cwd=pyinstaller,
stderr=STDOUT,
)
if args.sign_application:
@@ -60,11 +62,15 @@ if args.sign_application:
if args.pkg == "exe":
check_call(
["python", "build.py"], cwd=innosetup, stderr=STDOUT,
["python", "build.py"],
cwd=innosetup,
stderr=STDOUT,
)
else:
check_call(
["python", "build.py", args.pkg], cwd=fpm, stderr=STDOUT,
["python", "build.py", args.pkg],
cwd=fpm,
stderr=STDOUT,
)
if args.sign_installer:
+3 -1
View File
@@ -60,5 +60,7 @@ config = {
(path / "config.json").write_text(json.dumps(config))
check_call(
["gon", "config.json"], cwd=path, stderr=STDOUT,
["gon", "config.json"],
cwd=path,
stderr=STDOUT,
)
+2 -1
View File
@@ -50,5 +50,6 @@ check_call(
)
check_call(
["pkgutil", "--check-signature", os.fspath(pkg)], stderr=STDOUT,
["pkgutil", "--check-signature", os.fspath(pkg)],
stderr=STDOUT,
)
+3 -1
View File
@@ -38,5 +38,7 @@ with (path / "config.ini").open("w") as fobj:
cfg.write(fobj)
check_call(
["iscc", "setup.iss"], cwd=path, stderr=STDOUT,
["iscc", "setup.iss"],
cwd=path,
stderr=STDOUT,
)