mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-17 06:52:56 +00:00
pre-commit: run black autoformatter on all files
This commit is contained in:

committed by
Erik Sundell

parent
a99a182940
commit
fe3968efe0
@@ -68,7 +68,7 @@ EXCLUDED_PACKAGES = [
|
||||
"protobuf",
|
||||
"r-irkernel",
|
||||
"unixodbc",
|
||||
"bzip2"
|
||||
"bzip2",
|
||||
]
|
||||
|
||||
|
||||
@@ -133,8 +133,9 @@ def _import_packages(package_helper, filtered_packages, check_function, max_fail
|
||||
for package in filtered_packages:
|
||||
LOGGER.info(f"Trying to import {package}")
|
||||
try:
|
||||
assert check_function(package_helper, package) == 0, \
|
||||
f"Package [{package}] import failed"
|
||||
assert (
|
||||
check_function(package_helper, package) == 0
|
||||
), f"Package [{package}] import failed"
|
||||
except AssertionError as err:
|
||||
failures[package] = err
|
||||
if len(failures) > max_failures:
|
||||
|
Reference in New Issue
Block a user