Skip to content

Commit

Permalink
typehints
Browse files Browse the repository at this point in the history
  • Loading branch information
henryborchers committed Oct 12, 2023
1 parent d994100 commit 734fbf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions uiucprescon/build/conan/v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,14 +218,14 @@ def add_conan_imports(import_manifest_file: str, path: str, dest: str) -> None:

def locate_conanbuildinfo(search_locations: List[str]) -> Optional[str]:
warnings.warn(
message="use uiucprescon.build.utils.locate_filelocate_file() instead",
message="use uiucprescon.build.utils.locate_file() instead",
category=DeprecationWarning
)
return locate_file("conanbuildinfo.txt", search_locations)

def locate_conanbuildinfo_json(search_locations: List[str]) -> Optional[str]:
warnings.warn(
message="use uiucprescon.build.utils.locate_filelocate_file() instead",
message="use uiucprescon.build.utils.locate_file() instead",
category=DeprecationWarning
)
return locate_file("conanbuildinfo.json", search_locations)

0 comments on commit 734fbf0

Please sign in to comment.