Skip to content

Commit b271060

Browse files
committed
fix CI issues
1 parent 8893127 commit b271060

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pre_commit/languages/swift.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
from pre_commit.languages import helpers
66
from pre_commit.util import clean_path_on_failure
77
from pre_commit.util import cwd
8-
from pre_commit.languages import helpers
98
from pre_commit.xargs import xargs
109

1110
ENVIRONMENT_DIR = 'swift_env'
1211
BUILD_DIR = '.build'
1312
BUILD_CONFIG = 'release'
1413

14+
1515
def install_environment(
1616
repo_cmd_runner,
1717
version='default',
@@ -31,6 +31,7 @@ def install_environment(
3131
'--build-path', os.path.join(directory, BUILD_DIR),
3232
))
3333

34+
3435
def run_hook(repo_cmd_runner, hook, file_args):
3536
directory = repo_cmd_runner.path(helpers.environment_dir(
3637
ENVIRONMENT_DIR, 'default',

0 commit comments

Comments
 (0)