mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
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:
+9
-3
@@ -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:
|
||||
|
||||
@@ -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
@@ -50,5 +50,6 @@ check_call(
|
||||
)
|
||||
|
||||
check_call(
|
||||
["pkgutil", "--check-signature", os.fspath(pkg)], stderr=STDOUT,
|
||||
["pkgutil", "--check-signature", os.fspath(pkg)],
|
||||
stderr=STDOUT,
|
||||
)
|
||||
|
||||
@@ -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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user