Skip to content

Commit

Permalink
Fill in docstring placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
ikretz committed Jul 19, 2024
1 parent 4f5e8d8 commit a8e6057
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions guarddog/scanners/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@

def get_package_scanner(ecosystem: ECOSYSTEM) -> Optional[PackageScanner]:
"""
TODO
Return a `PackageScanner` for the given ecosystem or `None` if it
is not yet supported.
Args:
ecosystem (ECOSYSTEM): TODO
ecosystem (ECOSYSTEM): The ecosystem of the desired scanner
Returns:
Optional[PackageScanner]: TODO
Optional[PackageScanner]: The result of the scanner request
"""
match ecosystem:
case ECOSYSTEM.PYPI:
Expand All @@ -32,13 +34,15 @@ def get_package_scanner(ecosystem: ECOSYSTEM) -> Optional[PackageScanner]:

def get_project_scanner(ecosystem: ECOSYSTEM) -> Optional[ProjectScanner]:
"""
TODO
Return a `ProjectScanner` for the given ecosystem or `None` if
it is not yet supported.
Args:
ecosystem (ECOSYSTEM): TODO
ecosystem (ECOSYSTEM): The ecosystem of the desired scanner
Returns:
Optional[ProjectScanner]: TODO
Optional[ProjectScanner]: The result of the scanner request
"""
match ecosystem:
case ECOSYSTEM.PYPI:
Expand Down

0 comments on commit a8e6057

Please sign in to comment.