dang it darglint
This commit is contained in:
parent
8955410d1d
commit
b95a8e0ac5
@ -208,6 +208,9 @@ def get_install_package_manager(on_failure_return_none: bool = False) -> str | N
|
||||
"""Get the package manager executable for installation.
|
||||
Currently, bun is used for installation only.
|
||||
|
||||
Args:
|
||||
on_failure_return_none: Whether to return None on failure.
|
||||
|
||||
Returns:
|
||||
The path to the package manager.
|
||||
"""
|
||||
@ -225,6 +228,9 @@ def get_package_manager(on_failure_return_none: bool = False) -> str | None:
|
||||
"""Get the package manager executable for running app.
|
||||
Currently on unix systems, npm is used for running the app only.
|
||||
|
||||
Args:
|
||||
on_failure_return_none: Whether to return None on failure.
|
||||
|
||||
Returns:
|
||||
The path to the package manager.
|
||||
|
||||
@ -925,6 +931,9 @@ def install_frontend_packages(packages: set[str], config: Config):
|
||||
packages: A list of package names to be installed.
|
||||
config: The config object.
|
||||
|
||||
Raises:
|
||||
FileNotFoundError: If the package manager is not found.
|
||||
|
||||
Example:
|
||||
>>> install_frontend_packages(["react", "react-dom"], get_config())
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user