Skip to content

Commit

Permalink
Update docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
atugushev committed Jul 15, 2023
1 parent a6526e2 commit 278d8df
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion piptools/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,12 @@ def _validate_config(
click_context: click.Context,
config: dict[str, Any],
) -> None:
"""Validate parsed config against click command params."""
"""
Validate parsed config against click command params.
:raises click.NoSuchOption: if config contains unknown keys.
:raises click.BadOptionUsage: if config contains invalid values.
"""
cli_params = {
param.name: param
for param in click_context.command.params
Expand Down

0 comments on commit 278d8df

Please sign in to comment.