Skip to content

Commit c002adc

Browse files
committed
Run pre-commit
1 parent b011204 commit c002adc

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

Diff for: images/docker-stacks-foundation/run-hooks.py

+6-5
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,16 @@
22
# Copyright (c) Jupyter Development Team.
33
# Distributed under the terms of the Modified BSD License.
44

5+
import json
6+
57
# The run-hooks.py script looks for *.sh scripts to source
68
# and executable files to run within a passed directory
79
import os
8-
from textwrap import dedent
9-
import json
10-
import tempfile
11-
import sys
1210
import subprocess
11+
import sys
12+
import tempfile
1313
from pathlib import PosixPath
14+
from textwrap import dedent
1415

1516

1617
def source(path: PosixPath):
@@ -109,4 +110,4 @@ def source(path: PosixPath):
109110
print(f"Ignoring non-executable: {f}")
110111

111112

112-
print(f"Done running hooks in: {hooks_directory}")
113+
print(f"Done running hooks in: {hooks_directory}")

Diff for: images/docker-stacks-foundation/run-hooks.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# Copyright (c) Jupyter Development Team.
33
# Distributed under the terms of the Modified BSD License.
44

5-
exec /usr/local/bin/run-hooks.py "$@"
5+
exec /usr/local/bin/run-hooks.py "$@"

0 commit comments

Comments
 (0)