Skip to content

Commit

Permalink
Update utils/compare_dependency_constraints.py
Browse files Browse the repository at this point in the history
Co-authored-by: dorschw <[email protected]>
  • Loading branch information
shmuel44 and dorschw authored Jul 18, 2024
1 parent 19fbf10 commit 8286c18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/compare_dependency_constraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class Discrepancy(NamedTuple):
def __str__(self) -> str:
return f"{self.dependency}: {self.in_image or 'missing'} in {self.image} image, {self.in_native or 'missing'} in Native image"

def find_library_line_number(lib_name: str, file_path: Path):
def find_library_line_number(lib_name: str, file_path: Path) -> int | None:
"""
Searches for a library in the pyproject.toml or Pipfile file and returns the line number where it is found.
Expand Down

0 comments on commit 8286c18

Please sign in to comment.