Skip to content
Snippets Groups Projects
Commit 53fbfe62 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

fix $

parent bf4191e0
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ def find_pyx(directory_path: str) -> tp.List[str]: ...@@ -11,7 +11,7 @@ def find_pyx(directory_path: str) -> tp.List[str]:
:param directory_path: directory to look through :param directory_path: directory to look through
:return: .pyx files found :return: .pyx files found
""" """
return find_files(directory_path, r'(.*)\.pyx', scan_subdirectories=True) return find_files(directory_path, '(.*)\\.pyx$', scan_subdirectories=True)
@for_argument(returns=list) @for_argument(returns=list)
...@@ -22,7 +22,7 @@ def find_c(directory_path: str) -> tp.List[str]: ...@@ -22,7 +22,7 @@ def find_c(directory_path: str) -> tp.List[str]:
:param directory_path: directory to look through :param directory_path: directory to look through
:return: .c files found :return: .c files found
""" """
return find_files(directory_path, r'(.*)\.c', scan_subdirectories=True) return find_files(directory_path, '(.*)\\.c$', scan_subdirectories=True)
def find_pyx_and_c(directory_path: str) -> tp.List[str]: def find_pyx_and_c(directory_path: str) -> tp.List[str]:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment