mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 11:36:54 +00:00
corrected docstring typo error
This commit is contained in:
parent
b50feb702a
commit
6c45a86e16
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ def read_file_lines(file_path):
|
|||
|
||||
|
||||
def find_file_starting_from_reference_file_directory(reference_file, file_to_find):
|
||||
"""Attempts to find file_to_find by navigating through directories from reference_file parent directory."""
|
||||
"""Attempts to find file_to_find by navigating through directories from reference_file's parent directory."""
|
||||
file_path = os.path.realpath(reference_file)
|
||||
folder_path = os.path.dirname(file_path)
|
||||
for root, unused_dirs, files in os.walk(folder_path):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue