Skip to content

Commit 2f35237

Browse files
committed
Typo
1 parent bfe2f0d commit 2f35237

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.internal/pre_commit_tools/notebook_pre_commit_collection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ def is_valid_notebook(file_path: str, automatically_add_timeout: bool = True) ->
3030
if _does_contain_dash_in_file_name(file_name):
3131
errors.append(
3232
"File naming format error:\n"
33-
" Dash (-) is not allowed in file named. please use underscore (_)\n"
33+
" Dash (-) is not allowed in file name. please use underscore (_)\n"
3434
f" for example, you may change '{file_path}' to '{file_path.replace('-', '_')}'."
3535
)
3636

3737
if _does_contain_space_in_file_name(file_name):
3838
errors.append(
3939
"File naming format error:\n"
40-
" Space is not allowed in file named. please use underscore (_)\n"
40+
" Space is not allowed in file name. please use underscore (_)\n"
4141
f" for example, you may change '{file_path}' to '{file_path.replace(' ', '_')}'."
4242
)
4343

.internal/pre_commit_tools/qmod_pre_commit_collection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ def is_valid_qmod(
3434
if _does_contain_dash_in_file_name(file_name):
3535
errors.append(
3636
"File naming format error:\n"
37-
" Dash (-) is not allowed in file named. please use underscore (_)\n"
37+
" Dash (-) is not allowed in file name. please use underscore (_)\n"
3838
f" for example, you may change '{file_path}' to '{file_path.replace('-', '_')}'."
3939
)
4040

4141
if _does_contain_space_in_file_name(file_name):
4242
errors.append(
4343
"File naming format error:\n"
44-
" Space is not allowed in file named. please use underscore (_)\n"
44+
" Space is not allowed in file name. please use underscore (_)\n"
4545
f" for example, you may change '{file_path}' to '{file_path.replace(' ', '_')}'."
4646
)
4747

0 commit comments

Comments
 (0)